Mat.fromNative constructor

Mat.fromNative(
  1. Mat mat
)

Implementation

factory Mat.fromNative(cvg.Mat mat) {
  final p = calloc<cvg.Mat>()..ref = mat;
  return Mat._(p);
}