invoke static method

Future<void> invoke(
  1. String method,
  2. Map<String, Object> arguments
)

Implementation

static Future<void> invoke(String method, Map<String, Object> arguments) async {
  try {
    await _channel.invokeMethod(method, arguments);
  } catch (e) {
    print(e.toString());
  }
}