User.fromJson constructor
User.fromJson(
- Map json_
Implementation
User.fromJson(core.Map json_)
: this(
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
emailAddress: json_.containsKey('emailAddress')
? json_['emailAddress'] as core.String
: null,
isAuthenticatedUser: json_.containsKey('isAuthenticatedUser')
? json_['isAuthenticatedUser'] as core.bool
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
permissionId: json_.containsKey('permissionId')
? json_['permissionId'] as core.String
: null,
picture: json_.containsKey('picture')
? UserPicture.fromJson(
json_['picture'] as core.Map<core.String, core.dynamic>)
: null,
);