ObjectAccessControl.fromJson constructor
ObjectAccessControl.fromJson(
- Map _json
Implementation
ObjectAccessControl.fromJson(core.Map _json)
: this(
bucket: _json.containsKey('bucket')
? _json['bucket'] as core.String
: null,
domain: _json.containsKey('domain')
? _json['domain'] as core.String
: null,
email:
_json.containsKey('email') ? _json['email'] as core.String : null,
entity: _json.containsKey('entity')
? _json['entity'] as core.String
: null,
entityId: _json.containsKey('entityId')
? _json['entityId'] as core.String
: null,
etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
generation: _json.containsKey('generation')
? _json['generation'] as core.String
: null,
id: _json.containsKey('id') ? _json['id'] as core.String : null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
object: _json.containsKey('object')
? _json['object'] as core.String
: null,
projectTeam: _json.containsKey('projectTeam')
? ObjectAccessControlProjectTeam.fromJson(
_json['projectTeam'] as core.Map<core.String, core.dynamic>)
: null,
role: _json.containsKey('role') ? _json['role'] as core.String : null,
selfLink: _json.containsKey('selfLink')
? _json['selfLink'] as core.String
: null,
);