Auth.fromJson constructor
Auth.fromJson(
- Map json_
Implementation
Auth.fromJson(core.Map json_)
: this(
accessLevels: json_.containsKey('accessLevels')
? (json_['accessLevels'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
audiences: json_.containsKey('audiences')
? (json_['audiences'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
claims: json_.containsKey('claims')
? json_['claims'] as core.Map<core.String, core.dynamic>
: null,
credentialId: json_.containsKey('credentialId')
? json_['credentialId'] as core.String
: null,
presenter: json_.containsKey('presenter')
? json_['presenter'] as core.String
: null,
principal: json_.containsKey('principal')
? json_['principal'] as core.String
: null,
);