AccessReview.fromJson constructor
AccessReview.fromJson(
- Map json_
Implementation
AccessReview.fromJson(core.Map json_)
: this(
group:
json_.containsKey('group') ? json_['group'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
ns: json_.containsKey('ns') ? json_['ns'] as core.String : null,
resource: json_.containsKey('resource')
? json_['resource'] as core.String
: null,
subresource: json_.containsKey('subresource')
? json_['subresource'] as core.String
: null,
verb: json_.containsKey('verb') ? json_['verb'] as core.String : null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);