copyToAsync method
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(),
);