sendEventToApp static method
Implementation
static Future<Type?> sendEventToApp(dynamic event) async => !(await isBackgroundServiceRunning)
? throw Exception("Background Service is not running")
: await Untitled.Untitled_Constants.backgroundMethodChannel.invokeMethod("com.example.untitled_sendEventToApp", event);