InstancePartition.fromJson constructor
InstancePartition.fromJson(
- Map json_
Implementation
InstancePartition.fromJson(core.Map json_)
: this(
config: json_.containsKey('config')
? json_['config'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
nodeCount: json_.containsKey('nodeCount')
? json_['nodeCount'] as core.int
: null,
processingUnits: json_.containsKey('processingUnits')
? json_['processingUnits'] as core.int
: null,
referencingBackups: json_.containsKey('referencingBackups')
? (json_['referencingBackups'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
referencingDatabases: json_.containsKey('referencingDatabases')
? (json_['referencingDatabases'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);