convertToAsync method
Implementation
Future<Mat> convertToAsync(MatType type, {double alpha = 1, double beta = 0}) async {
final dst = Mat.empty();
return cvRunAsync0<Mat>(
(callback) => ccore.cv_Mat_convertTo_1(ref, dst.ref, type.value, alpha, beta, callback),
(c) => c.complete(dst),
);
}