Backup.fromJson constructor
Backup.fromJson(
- Map json_
Implementation
Backup.fromJson(core.Map json_)
: this(
capacityGb: json_.containsKey('capacityGb')
? json_['capacityGb'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
downloadBytes: json_.containsKey('downloadBytes')
? json_['downloadBytes'] as core.String
: null,
kmsKey: json_.containsKey('kmsKey')
? json_['kmsKey'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
satisfiesPzi: json_.containsKey('satisfiesPzi')
? json_['satisfiesPzi'] as core.bool
: null,
satisfiesPzs: json_.containsKey('satisfiesPzs')
? json_['satisfiesPzs'] as core.bool
: null,
sourceFileShare: json_.containsKey('sourceFileShare')
? json_['sourceFileShare'] as core.String
: null,
sourceInstance: json_.containsKey('sourceInstance')
? json_['sourceInstance'] as core.String
: null,
sourceInstanceTier: json_.containsKey('sourceInstanceTier')
? json_['sourceInstanceTier'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
storageBytes: json_.containsKey('storageBytes')
? json_['storageBytes'] as core.String
: null,
);