addCustomEvent static method

Future<bool?> addCustomEvent(
  1. String type,
  2. String json
)

Implementation

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