copyToAsync method

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

Implementation

Future<void> copyToAsync(Mat dst, {Mat? mask}) async => cvRunAsync0(
      (callback) => mask == null
          ? cffi.Mat_CopyTo_Async(ref, dst.ref, callback)
          : cffi.Mat_CopyToWithMask_Async(ref, dst.ref, mask.ref, callback),
      voidCompleter,
    );