Policy.fromJson constructor
Policy.fromJson(
- Map json_
Implementation
Policy.fromJson(core.Map json_)
: this(
bindings: json_.containsKey('bindings')
? (json_['bindings'] as core.List)
.map((value) => PolicyBindings.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
resourceId: json_.containsKey('resourceId')
? json_['resourceId'] as core.String
: null,
version: json_.containsKey('version')
? json_['version'] as core.int
: null,
);