UserProfile.fromJson constructor
UserProfile.fromJson(
- Map json_
Implementation
UserProfile.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
accountName: json_.containsKey('accountName')
? json_['accountName'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
profileId: json_.containsKey('profileId')
? json_['profileId'] as core.String
: null,
subAccountId: json_.containsKey('subAccountId')
? json_['subAccountId'] as core.String
: null,
subAccountName: json_.containsKey('subAccountName')
? json_['subAccountName'] as core.String
: null,
userName: json_.containsKey('userName')
? json_['userName'] as core.String
: null,
);