mul method
Performs an element-wise multiplication or division of the two matrices.
The method returns a temporary object encoding per-element array multiplication, with optional scale. Note that this is not a matrix multiplication that corresponds to a simpler "*" operator.
https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#a385c09827713dc3e6d713bfad8460706
Implementation
Mat mul(Mat other, {bool inplace = false, double scale = 1.0}) {
final dst = inplace ? this : Mat.empty();
cvRun(() => ccore.cv_Mat_mul(ref, other.ref, dst.ptr, scale));
return dst;
}