ScannedImage class Null safety

Constructors

ScannedImage({String? croppedImage, int? width, String? initialImage, int? height})
ScannedImage.fromJson(String str)
Parse a JSON message that is returned from platform channel.
factory
ScannedImage.fromMap(Map<String, dynamic> json)
Convert a map (json) to a ScannedImage instance.
factory

Properties

croppedImage String?
Cropped image (scanned document) file location.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
Cropped image (scanned document) height.
read / write
initialImage String?
The initial image before cropping the document.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int?
Cropped image (scanned document) width.
read / write

Methods

getScannedDocumentAsFile() File
Get croppedImage (scanned document) as File.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited