ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson constructor
ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson(
- Map json_
Implementation
ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson(
core.Map json_)
: this(
chainName: json_.containsKey('chainName')
? json_['chainName'] as core.String
: null,
guestFlush: json_.containsKey('guestFlush')
? json_['guestFlush'] as core.bool
: 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,
storageLocations: json_.containsKey('storageLocations')
? (json_['storageLocations'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);