Privilege.fromJson constructor
Privilege.fromJson(
- Map json_
Implementation
Privilege.fromJson(core.Map json_)
: this(
childPrivileges: json_.containsKey('childPrivileges')
? (json_['childPrivileges'] as core.List)
.map((value) => Privilege.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
isOuScopable: json_.containsKey('isOuScopable')
? json_['isOuScopable'] as core.bool
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
privilegeName: json_.containsKey('privilegeName')
? json_['privilegeName'] as core.String
: null,
serviceId: json_.containsKey('serviceId')
? json_['serviceId'] as core.String
: null,
serviceName: json_.containsKey('serviceName')
? json_['serviceName'] as core.String
: null,
);