ClusterListEntry.fromJson constructor

ClusterListEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ClusterListEntry.fromJson(Map<String, dynamic> json) {
  return ClusterListEntry(
    clusterId: json['ClusterId'] as String?,
    clusterState: (json['ClusterState'] as String?)?.toClusterState(),
    creationDate: timeStampFromJson(json['CreationDate']),
    description: json['Description'] as String?,
  );
}