toJson method
Implementation
Map<String, dynamic> toJson() {
final clientSubnets = this.clientSubnets;
final instanceType = this.instanceType;
final brokerAZDistribution = this.brokerAZDistribution;
final securityGroups = this.securityGroups;
final storageInfo = this.storageInfo;
return {
'clientSubnets': clientSubnets,
'instanceType': instanceType,
if (brokerAZDistribution != null)
'brokerAZDistribution': brokerAZDistribution.toValue(),
if (securityGroups != null) 'securityGroups': securityGroups,
if (storageInfo != null) 'storageInfo': storageInfo,
};
}