SnapshotSettingsStorageLocationSettings.fromJson constructor
SnapshotSettingsStorageLocationSettings.fromJson(
- Map json_
Implementation
SnapshotSettingsStorageLocationSettings.fromJson(core.Map json_)
: this(
locations: json_.containsKey('locations')
? (json_['locations'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
SnapshotSettingsStorageLocationSettingsStorageLocationPreference
.fromJson(value as core.Map<core.String, core.dynamic>),
),
)
: null,
policy: json_.containsKey('policy')
? json_['policy'] as core.String
: null,
);