toJsonString method

  1. @override
String toJsonString()
override

Returns a JSON representation of this Object as a String.

Implementation

@override
String toJsonString() {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Symbol_toJSON(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}