DiskResourceStatus.fromJson constructor
DiskResourceStatus.fromJson(
- Map json_
Implementation
DiskResourceStatus.fromJson(core.Map json_)
: this(
asyncPrimaryDisk: json_.containsKey('asyncPrimaryDisk')
? DiskResourceStatusAsyncReplicationStatus.fromJson(
json_['asyncPrimaryDisk']
as core.Map<core.String, core.dynamic>)
: null,
asyncSecondaryDisks: json_.containsKey('asyncSecondaryDisks')
? (json_['asyncSecondaryDisks']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
DiskResourceStatusAsyncReplicationStatus.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
);