Access.fromJson constructor
Access.fromJson(
- Map json_
Implementation
Access.fromJson(core.Map json_)
: this(
callerIp: json_.containsKey('callerIp')
? json_['callerIp'] as core.String
: null,
callerIpGeo: json_.containsKey('callerIpGeo')
? Geolocation.fromJson(
json_['callerIpGeo'] as core.Map<core.String, core.dynamic>)
: null,
methodName: json_.containsKey('methodName')
? json_['methodName'] as core.String
: null,
principalEmail: json_.containsKey('principalEmail')
? json_['principalEmail'] as core.String
: null,
principalSubject: json_.containsKey('principalSubject')
? json_['principalSubject'] as core.String
: null,
serviceAccountDelegationInfo:
json_.containsKey('serviceAccountDelegationInfo')
? (json_['serviceAccountDelegationInfo'] as core.List)
.map((value) => ServiceAccountDelegationInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
serviceAccountKeyName: json_.containsKey('serviceAccountKeyName')
? json_['serviceAccountKeyName'] as core.String
: null,
serviceName: json_.containsKey('serviceName')
? json_['serviceName'] as core.String
: null,
userAgent: json_.containsKey('userAgent')
? json_['userAgent'] as core.String
: null,
userAgentFamily: json_.containsKey('userAgentFamily')
? json_['userAgentFamily'] as core.String
: null,
userName: json_.containsKey('userName')
? json_['userName'] as core.String
: null,
);