IncludeReplicas.fromJson constructor

IncludeReplicas.fromJson(
  1. Map json_
)

Implementation

IncludeReplicas.fromJson(core.Map json_)
    : this(
        autoFailoverDisabled: json_.containsKey('autoFailoverDisabled')
            ? json_['autoFailoverDisabled'] as core.bool
            : null,
        replicaSelections: json_.containsKey('replicaSelections')
            ? (json_['replicaSelections'] as core.List)
                .map((value) => ReplicaSelection.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );