AccessPolicy.fromJson constructor
AccessPolicy.fromJson(
- Map json_
Implementation
AccessPolicy.fromJson(core.Map json_)
: this(
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parent: json_.containsKey('parent')
? json_['parent'] as core.String
: null,
scopes: json_.containsKey('scopes')
? (json_['scopes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);