ArcGISMapServiceSublayerInfo.fromJsonString constructor

ArcGISMapServiceSublayerInfo.fromJsonString(
  1. String jsonString
)

Implementation

factory ArcGISMapServiceSublayerInfo.fromJsonString(String jsonString) {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    final jsonCString = _CString(jsonString);
    return runtimecore.RT_ArcGISMapServiceSublayerInfo_fromJSON(
        jsonCString.bytes, errorHandler);
  });
  return ArcGISMapServiceSublayerInfo._fromHandle(objectHandle)!;
}