copyToAsync function
CopyTo
https://docs.opencv.org/4.x/d2/de8/group__core__array.html#ga931a49489330f998452fc53e96e1719a
Implementation
Future<Mat> copyToAsync(
InputArray src,
InputArray dst, {
InputArray? mask,
}) async {
mask ??= Mat.empty();
return cvRunAsync0((callback) => ccore.cv_copyTo(src.ref, dst.ref, mask!.ref, callback), (c) {
return c.complete(dst);
});
}