updateNotificationDialog method
Implementation
Future<bool?> updateNotificationDialog(String dialogId, bool enabled) async {
Map<Object?, Object?> response = await _chatModule.invokeMethod(UPDATE_NOTIFICATION_DIALOG, [dialogId, enabled]);
Map<String, Object>? resultMap = HashMap.from(response);
return resultMap["enabled"] as bool?;
}