Cluster.fromJson constructor

Cluster.fromJson(
  1. Map json_
)

Implementation

Cluster.fromJson(core.Map json_)
    : this(
        nodes: (json_['nodes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        witnessServer: json_['witnessServer'] as core.String?,
      );