Info.fromMap constructor

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

Implementation

factory Info.fromMap(Map<String, String> map) {
  return Info(
    server: ServerInfo.fromMap(map),
    clients: ClientsInfo.fromMap(map),
    memory: MemoryInfo.fromMap(map),
    persistence: PersistenceInfo.fromMap(map),
    stats: StatsInfo.fromMap(map),
    replication: ReplicationInfo.fromMap(map),
    cpu: CPUInfo.fromMap(map),
    cluster: ClusterInfo.fromMap(map),
    keyspace: KeyspaceInfo.fromMap(map),
  );
}