SingleClusterRouting.fromJson constructor

SingleClusterRouting.fromJson(
  1. Map json_
)

Implementation

SingleClusterRouting.fromJson(core.Map json_)
    : this(
        allowTransactionalWrites:
            json_.containsKey('allowTransactionalWrites')
                ? json_['allowTransactionalWrites'] as core.bool
                : null,
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
      );