EntityUserLink.fromJson constructor

EntityUserLink.fromJson(
  1. 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_['id'] as core.String?,
        kind: json_['kind'] as core.String?,
        permissions: json_.containsKey('permissions')
            ? EntityUserLinkPermissions.fromJson(
                json_['permissions'] as core.Map<core.String, core.dynamic>)
            : null,
        selfLink: json_['selfLink'] as core.String?,
        userRef: json_.containsKey('userRef')
            ? UserRef.fromJson(
                json_['userRef'] as core.Map<core.String, core.dynamic>)
            : null,
      );