jsonMap method
Implementation
@override
Map<String, Object> jsonMap() {
Map<String, Object> map = new Map<String, Object>();
if (allowHtml != null) {
map['allowHtml'] = allowHtml!;
}
if (maxMessageLength != null) {
map['maxMessageLength'] = maxMessageLength!;
}
if (maxImageMessageLength != null) {
map['maxImageMessageLength'] = maxImageMessageLength!;
}
if (maxUsers != null) {
map['maxUsers'] = maxUsers!;
}
if (suggestedOpusBitrate != null) {
map['suggestedOpusBitrate'] = suggestedOpusBitrate!;
}
if (maxBandwidth != null) {
map['maxBandwidth'] = maxBandwidth!;
}
if (welcomeText != null) {
map['welcomeText'] = welcomeText!;
}
return map;
}