ScheduledSnapshotsConfig.fromJson constructor

ScheduledSnapshotsConfig.fromJson(
  1. Map json_
)

Implementation

ScheduledSnapshotsConfig.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        snapshotCreationSchedule:
            json_.containsKey('snapshotCreationSchedule')
                ? json_['snapshotCreationSchedule'] as core.String
                : null,
        snapshotLocation: json_.containsKey('snapshotLocation')
            ? json_['snapshotLocation'] as core.String
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );