PermissionPermissionDetails.fromJson constructor
PermissionPermissionDetails.fromJson(
- Map json_
Implementation
PermissionPermissionDetails.fromJson(core.Map json_)
: this(
additionalRoles: json_.containsKey('additionalRoles')
? (json_['additionalRoles'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
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,
);