Vec3b.fromNative constructor

Vec3b.fromNative(
  1. Vec3b v
)

Implementation

factory Vec3b.fromNative(cvg.Vec3b v) {
  final p = calloc<cvg.Vec3b>()
    ..ref.val1 = v.val1
    ..ref.val2 = v.val2
    ..ref.val3 = v.val3;
  return Vec3b._(p);
}