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