copyToAsync method

Future<void> copyToAsync(
  1. Mat dst, {
  2. Mat? mask,
})

Implementation

Future<void> copyToAsync(Mat dst, {Mat? mask}) async => cvRunAsync0(
      (callback) => mask == null
          ? ccore.cv_Mat_copyTo(ref, dst.ref, callback)
          : ccore.cv_Mat_copyTo_1(ref, dst.ref, mask.ref, callback),
      (c) => c.complete(),
    );