toJson method

String toJson()

Serializes this object to a JSON string.

Return Value: A String.

Implementation

String toJson() {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Field_toJSON(_handle, errorHandler);
  });
  return stringHandle.toDartString();
}