OauthClient.fromJson constructor
OauthClient.fromJson(
- Map json_
Implementation
OauthClient.fromJson(core.Map json_)
: this(
allowedGrantTypes: json_.containsKey('allowedGrantTypes')
? (json_['allowedGrantTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
allowedRedirectUris: json_.containsKey('allowedRedirectUris')
? (json_['allowedRedirectUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
allowedScopes: json_.containsKey('allowedScopes')
? (json_['allowedScopes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
clientId: json_.containsKey('clientId')
? json_['clientId'] as core.String
: null,
clientType: json_.containsKey('clientType')
? json_['clientType'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
disabled: json_.containsKey('disabled')
? json_['disabled'] as core.bool
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
expireTime: json_.containsKey('expireTime')
? json_['expireTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);