ImageHash constructor

ImageHash({
  1. required int resolution,
  2. required int depth,
  3. Uint8List? hashList,
})

Implementation

ImageHash({
  required this.resolution,
  required this.depth,
  Uint8List? hashList,
}) : hashList = hashList ?? Uint8List(resolution * resolution * 4);