ImageObject constructor

ImageObject({
  1. required String originalPath,
  2. required String modifiedPath,
  3. String? assetId = "",
  4. int? modifiedWidth,
  5. int? modifiedHeight,
  6. List<DetectObject>? recognitions,
  7. String? label,
  8. String? ocrText,
  9. String? ocrOriginalText,
})

Default constructor for the image object using inside this package.

Implementation

ImageObject(
    {required this.originalPath,
    required this.modifiedPath,
    this.assetId = "",
    this.modifiedWidth,
    this.modifiedHeight,
    this.recognitions,
    this.label,
    this.ocrText,
    this.ocrOriginalText});