Container.fromJson constructor
Container.fromJson(
- Map json_
Implementation
Container.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
containerId: json_.containsKey('containerId')
? json_['containerId'] as core.String
: null,
domainName: json_.containsKey('domainName')
? (json_['domainName'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
enabledBuiltInVariable: json_.containsKey('enabledBuiltInVariable')
? (json_['enabledBuiltInVariable'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
fingerprint: json_.containsKey('fingerprint')
? json_['fingerprint'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notes:
json_.containsKey('notes') ? json_['notes'] as core.String : null,
publicId: json_.containsKey('publicId')
? json_['publicId'] as core.String
: null,
timeZoneCountryId: json_.containsKey('timeZoneCountryId')
? json_['timeZoneCountryId'] as core.String
: null,
timeZoneId: json_.containsKey('timeZoneId')
? json_['timeZoneId'] as core.String
: null,
usageContext: json_.containsKey('usageContext')
? (json_['usageContext'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);