toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'end_room': endRoom,
'browser_recording': browserRecording,
'remove_others': removeOthers,
'mute': mute,
'un_mute': unMute,
'hls_streaming': hlsStreaming,
'rtmp_streaming': rtmpStreaming,
'change_role': changeRole,
'poll_read': pollRead,
'poll_write': pollWrite
};
}