ClusterPersistenceConfig.fromJson constructor

ClusterPersistenceConfig.fromJson(
  1. Map json_
)

Implementation

ClusterPersistenceConfig.fromJson(core.Map json_)
    : this(
        aofConfig: json_.containsKey('aofConfig')
            ? AOFConfig.fromJson(
                json_['aofConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        rdbConfig: json_.containsKey('rdbConfig')
            ? RDBConfig.fromJson(
                json_['rdbConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );