emptyAsync method

Future<bool> emptyAsync()

Implementation

Future<bool> emptyAsync() async {
  final rval =
      cvRunAsync<bool>((callback) => cobjdetect.CascadeClassifier_Empty_Async(ref, callback), (c, p) {
    final rval = p.cast<ffi.Bool>().value;
    calloc.free(p);
    return c.complete(rval);
  });
  return rval;
}