Basemap.fromJsonString constructor

Basemap.fromJsonString(
  1. String jsonString
)

Implementation

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