invokeReturnBool static method

Future<bool> invokeReturnBool(
  1. String method,
  2. Map<String, Object> arguments
)

Implementation

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