UniqueValue.fromJsonString constructor

UniqueValue.fromJsonString(
  1. String jsonString
)

Implementation

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