onesAsync static method
Implementation
static Future<Mat> onesAsync(int rows, int cols, MatType type) async {
final p = calloc<cvg.Mat>();
return cvRunAsync0<Mat>(
(callback) => ccore.cv_Mat_ones(rows, cols, type.value, p, callback),
(c) => c.complete(Mat.fromPointer(p)),
);
}