GcpUserAccessBinding.fromJson constructor
GcpUserAccessBinding.fromJson(
- Map json_
Implementation
GcpUserAccessBinding.fromJson(core.Map json_)
: this(
accessLevels: json_.containsKey('accessLevels')
? (json_['accessLevels'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
dryRunAccessLevels: json_.containsKey('dryRunAccessLevels')
? (json_['dryRunAccessLevels'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
groupKey: json_.containsKey('groupKey')
? json_['groupKey'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
restrictedClientApplications:
json_.containsKey('restrictedClientApplications')
? (json_['restrictedClientApplications'] as core.List)
.map((value) => Application.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);