PermissionPermissionDetails.fromJson constructor

PermissionPermissionDetails.fromJson(
  1. Map json_
)

Implementation

PermissionPermissionDetails.fromJson(core.Map json_)
    : this(
        inherited: json_.containsKey('inherited')
            ? json_['inherited'] as core.bool
            : null,
        inheritedFrom: json_.containsKey('inheritedFrom')
            ? json_['inheritedFrom'] as core.String
            : null,
        permissionType: json_.containsKey('permissionType')
            ? json_['permissionType'] as core.String
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
      );