BucketAccessControl.fromJson constructor
BucketAccessControl.fromJson(
- Map _json
Implementation
BucketAccessControl.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,
id: _json.containsKey('id') ? _json['id'] as core.String : null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
projectTeam: _json.containsKey('projectTeam')
? BucketAccessControlProjectTeam.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,
);