toJson method
Implementation
Map<String, dynamic> toJson() {
final clusterIdentifier = this.clusterIdentifier;
final classic = this.classic;
final clusterType = this.clusterType;
final nodeType = this.nodeType;
final numberOfNodes = this.numberOfNodes;
return {
'ClusterIdentifier': clusterIdentifier,
if (classic != null) 'Classic': classic,
if (clusterType != null) 'ClusterType': clusterType,
if (nodeType != null) 'NodeType': nodeType,
if (numberOfNodes != null) 'NumberOfNodes': numberOfNodes,
};
}