toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'max_message_size_bytes': maxMessageSizeBytes,
'node_max_memory_size_bytes': nodeMaxMemorySizeBytes,
'controller_id': controllerId,
}..removeWhere((key, value) => value == null);
}