OAuthUserConfiguration.fromJsonString constructor

OAuthUserConfiguration.fromJsonString(
  1. String jsonString
)

Implementation

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