PersistenceConfig.fromJson constructor

PersistenceConfig.fromJson(
  1. Map json_
)

Implementation

PersistenceConfig.fromJson(core.Map json_)
    : this(
        persistenceMode: json_.containsKey('persistenceMode')
            ? json_['persistenceMode'] as core.String
            : null,
        rdbNextSnapshotTime: json_.containsKey('rdbNextSnapshotTime')
            ? json_['rdbNextSnapshotTime'] as core.String
            : null,
        rdbSnapshotPeriod: json_.containsKey('rdbSnapshotPeriod')
            ? json_['rdbSnapshotPeriod'] as core.String
            : null,
        rdbSnapshotStartTime: json_.containsKey('rdbSnapshotStartTime')
            ? json_['rdbSnapshotStartTime'] as core.String
            : null,
      );