Application.fromJson constructor
Application.fromJson(
- Map json_
Implementation
Application.fromJson(core.Map json_)
: this(
authDomain: json_.containsKey('authDomain')
? json_['authDomain'] as core.String
: null,
codeBucket: json_.containsKey('codeBucket')
? json_['codeBucket'] as core.String
: null,
databaseType: json_.containsKey('databaseType')
? json_['databaseType'] as core.String
: null,
defaultBucket: json_.containsKey('defaultBucket')
? json_['defaultBucket'] as core.String
: null,
defaultCookieExpiration: json_.containsKey('defaultCookieExpiration')
? json_['defaultCookieExpiration'] as core.String
: null,
defaultHostname: json_.containsKey('defaultHostname')
? json_['defaultHostname'] as core.String
: null,
dispatchRules: json_.containsKey('dispatchRules')
? (json_['dispatchRules'] as core.List)
.map((value) => UrlDispatchRule.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
featureSettings: json_.containsKey('featureSettings')
? FeatureSettings.fromJson(json_['featureSettings']
as core.Map<core.String, core.dynamic>)
: null,
gcrDomain: json_.containsKey('gcrDomain')
? json_['gcrDomain'] as core.String
: null,
generatedCustomerMetadata:
json_.containsKey('generatedCustomerMetadata')
? json_['generatedCustomerMetadata']
as core.Map<core.String, core.dynamic>
: null,
iap: json_.containsKey('iap')
? IdentityAwareProxy.fromJson(
json_['iap'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
locationId: json_.containsKey('locationId')
? json_['locationId'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
servingStatus: json_.containsKey('servingStatus')
? json_['servingStatus'] as core.String
: null,
);