PrimaryConfig.fromJson constructor

PrimaryConfig.fromJson(
  1. Map json_
)

Implementation

PrimaryConfig.fromJson(core.Map json_)
    : this(
        secondaryClusterNames: json_.containsKey('secondaryClusterNames')
            ? (json_['secondaryClusterNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );