BlockMeanHash constructor

BlockMeanHash({
  1. int mode = BLOCK_MEAN_HASH_MODE_0,
})

Implementation

factory BlockMeanHash({int mode = BLOCK_MEAN_HASH_MODE_0}) {
  final p = calloc<cvg.BlockMeanHash>();
  cvRun(() => cffi.BlockMeanHash_Create(mode, p));
  return BlockMeanHash._(p, mode);
}