ClusterInfo.fromMap constructor

ClusterInfo.fromMap(
  1. Map<String, String> map
)

Implementation

factory ClusterInfo.fromMap(Map<String, String> map) {
  return ClusterInfo(
    clusterEnabled: map['cluster_enabled'] == '1',
  );
}