EntityUserLink.fromJson constructor
EntityUserLink.fromJson(
- Map json_
Implementation
EntityUserLink.fromJson(core.Map json_)
: this(
entity: json_.containsKey('entity')
? EntityUserLinkEntity.fromJson(
json_['entity'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
permissions: json_.containsKey('permissions')
? EntityUserLinkPermissions.fromJson(
json_['permissions'] as core.Map<core.String, core.dynamic>)
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
userRef: json_.containsKey('userRef')
? UserRef.fromJson(
json_['userRef'] as core.Map<core.String, core.dynamic>)
: null,
);