getFeatureTypeAsync method

Future<int> getFeatureTypeAsync()

Implementation

Future<int> getFeatureTypeAsync() async {
  final rval = cvRunAsync<int>(
      (callback) => cobjdetect.CascadeClassifier_getFeatureType_Async(ref, callback), (c, p) {
    final rval = p.cast<ffi.Int>().value;
    calloc.free(p);

    return c.complete(rval);
  });
  return rval;
}