onesAsync static method

Future<Mat> onesAsync(
  1. int rows,
  2. int cols,
  3. MatType type
)

Implementation

static Future<Mat> onesAsync(int rows, int cols, MatType type) async =>
    cvRunAsync((callback) => ccore.Mat_Ones_Async(rows, cols, type.value, callback), matCompleter);