Media class
This class will contain the necessary data of selected media
Constructors
Properties
- creationTime ↔ DateTime?
-
Creation time of the media file on local storage
getter/setter pair
- file ↔ File?
-
File saved on local storage
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
Unique id to identify
getter/setter pair
- mediaByte ↔ Uint8List?
-
The image file in bytes format
getter/setter pair
- mediaType ↔ MediaType?
-
Type of the media, Image/Video
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ Size?
-
Image Dimensions
getter/setter pair
- thumbnail ↔ Uint8List?
-
A low resolution image to show as preview
getter/setter pair
- title ↔ String?
-
media name or title
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited