AuthSuccess.fromJson constructor

AuthSuccess.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory AuthSuccess.fromJson(Map<String, dynamic> jsonSerialization) {
  return AuthSuccess(
    sessionKey: jsonSerialization['sessionKey'] as String,
    authUserId:
        _i1.UuidValueJsonExtension.fromJson(jsonSerialization['authUserId']),
    scopeNames: _i1.SetJsonExtension.fromJson(
        (jsonSerialization['scopeNames'] as List),
        itemFromJson: (e) => e as String)!,
  );
}