MediaFile class abstract

Base class for media files

Implementers

Constructors

MediaFile({required String id, required String name, required int size, required String path, required String uri, required int dateAdded, required String mimeType, required int duration})

Properties

dateAdded int
Date when the media file was added to the device (Unix timestamp)
final
duration int
Duration of the media file in milliseconds
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the media file
final
mimeType String
MIME type of the media file
final
name String
Display name of the media file
final
path String
Path to the media file on the device
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of the media file in bytes
final
uri String
URI for accessing the media file
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