ReplicaSelection.fromJson constructor

ReplicaSelection.fromJson(
  1. Map json_
)

Implementation

ReplicaSelection.fromJson(core.Map json_)
    : this(
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );