toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
data['meetID'] = meetID;
data['nickname'] = nickname;
if (crmt != null) {
data['crmt'] = crmt;
}
data['lang'] = lang;
data['localOpenCam'] = localOpenCam;
data['localOpenMic'] = localOpenMic;
data['localOpenSpeaker'] = localOpenSpeaker;
data['joinType'] = joinType.index;
data['userID'] = userID;
return data;
}