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
final
- file → File?
-
File saved on local storage
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique id to identify
final
- index → int?
-
Index of selected image
final
- latitude → double?
-
latitude of the media file
final
- longitude → double?
-
longitude of the media file
final
- mediaByte → Uint8List?
-
The image file in bytes format
final
- mediaType → MediaType?
-
Type of the media, Image/Video
final
- modifiedTime → DateTime?
-
Last modified time of the media file on local storage
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size?
-
Image Dimensions
final
- thumbnail → Uint8List?
-
A low resolution image to show as preview
final
- title → String?
-
media name or title
final
- videoDuration → Duration?
-
Duration of the video
final
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