ArcGISSymbol.fromJsonString constructor

ArcGISSymbol.fromJsonString(
  1. String jsonString
)

Implementation

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