shouldEventSyncRealTime function

Future<void> shouldEventSyncRealTime(
  1. bool allowEventSyncRealTime
)

Implementation

Future<void> shouldEventSyncRealTime(bool allowEventSyncRealTime) async {
  try {
    await platform.invokeMethod('shouldEventSyncRealTime', {
      "allowEventSyncRealTime": allowEventSyncRealTime,
    });
    return;
  } catch (e, stacktrace) {
    if (kDebugMode) {
      print("Error in shouldEventSyncRealTime");
      print(e);
      print(stacktrace);
    }
  }
}