AudioModel class
Model class representing an audio file retrieved from the device.
Constructors
Properties
- album → String?
-
Album name (optional).
final
- artist → String?
-
Artist name (optional).
final
- dateAdded → int
-
Date the audio was added (milliseconds since epoch).
final
- dateModified → int
-
Date the audio was last modified (milliseconds since epoch).
final
- duration → int
-
Duration of the audio in milliseconds.
final
- fileExtension → String?
-
File extension.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Unique identifier for the audio.
final
- mimeType → String
-
MIME type of the audio.
final
- name → String
-
Name of the audio file.
final
- path → String?
-
File system path to the audio.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Size of the audio in bytes.
final
- uri → String
-
Content URI for the audio.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited