AuthorizedOrgsDesc.fromJson constructor
AuthorizedOrgsDesc.fromJson(
- Map json_
Implementation
AuthorizedOrgsDesc.fromJson(core.Map json_)
: this(
assetType: json_.containsKey('assetType')
? json_['assetType'] as core.String
: null,
authorizationDirection: json_.containsKey('authorizationDirection')
? json_['authorizationDirection'] as core.String
: null,
authorizationType: json_.containsKey('authorizationType')
? json_['authorizationType'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
orgs: json_.containsKey('orgs')
? (json_['orgs'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);