VideoFile class

Represents a video file on the device

Inheritance

Constructors

VideoFile({required String id, required String name, required int size, required String path, required String uri, required int dateAdded, required String mimeType, required int duration, Uint8List? thumbnailData})
VideoFile.fromMap(Map<String, dynamic> map)
Create a VideoFile from a map
factory

Properties

dateAdded int
Date when the media file was added to the device (Unix timestamp)
finalinherited
duration int
Duration of the media file in milliseconds
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the media file
finalinherited
mimeType String
MIME type of the media file
finalinherited
name String
Display name of the media file
finalinherited
path String
Path to the media file on the device
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of the media file in bytes
finalinherited
thumbnailData Uint8List?
Get the thumbnail data if it's already cached
getter/setter pair
uri String
URI for accessing the media file
finalinherited

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