StretchedClusterConfig.fromJson constructor

StretchedClusterConfig.fromJson(
  1. Map json_
)

Implementation

StretchedClusterConfig.fromJson(core.Map json_)
    : this(
        preferredLocation: json_.containsKey('preferredLocation')
            ? json_['preferredLocation'] as core.String
            : null,
        secondaryLocation: json_.containsKey('secondaryLocation')
            ? json_['secondaryLocation'] as core.String
            : null,
      );