typingIndicator method
Implementation
Future<void> typingIndicator(List<String> list, String type) async {
Map<String, dynamic> jsonData = {
'type': "message",
'typing': isTyping.value,
};
if (type == 'group') {
EnxRtc.sendUserData(jsonData, true, []);
} else {
EnxRtc.sendUserData(jsonData, false, list);
}
if (kDebugMode) {
print('typing$jsonData');
}
}