static Future<bool?> addCustomEvent(String type, String json) => _channel.invokeMethod('addCustomEvent', {"json": json, "type": type});