isEnabledNotificationDialog method

Future<bool?> isEnabledNotificationDialog(
  1. String dialogId
)

Implementation

Future<bool?> isEnabledNotificationDialog(String dialogId) async {
  Map<Object?, Object?> response = await _chatModule.invokeMethod(IS_ENABLED_NOTIFICATION_DIALOG, [dialogId]);

  Map<String, Object>? resultMap = HashMap.from(response);
  return resultMap["enabled"] as bool?;
}