toJson method
Implementation
Map<String, dynamic> toJson() {
final clientBroker = this.clientBroker;
final inCluster = this.inCluster;
return {
if (clientBroker != null) 'clientBroker': clientBroker.toValue(),
if (inCluster != null) 'inCluster': inCluster,
};
}