ImageFile class

Store the image data and other information.

Constructors

ImageFile(String key, {required String name, required String extension, Uint8List? bytes, String? path})

Properties

bytes Uint8List?
final
extension String
final
hashCode int
The hash code for this object.
no setterinherited
hasPath bool
returns true if image has path. (For web path is not available)
no setter
key String
final
name String
final
path String?
final
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
returns size of bytes if image has bytes, else 0.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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