ArcGISCredential.fromJsonString constructor

ArcGISCredential.fromJsonString(
  1. String jsonString
)

Implementation

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