NowPlayingTrack class
Constructors
-
NowPlayingTrack({String id,
String title, String album, String artist, Duration duration: Duration.zero, NowPlayingState state: NowPlayingState.stopped, String source, Duration position, DateTime createdAt} ) -
NowPlayingTrack.fromJson(Map<
String, dynamic> json) -
factory
Properties
- album → String
-
final
- artist → String
-
final
- duration → Duration
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hasIcon → bool
-
read-only
- hasImage → bool
-
read-only
- hasOrIsResolvingImage → bool
-
read-only
-
icon
→ ImageProvider<
Object> -
read-only
- id → String
-
final
-
image
↔ ImageProvider<
Object> -
read / write
- isPaused → bool
-
read-only
- isPlaying → bool
-
read-only
- isResolvingImage → bool
-
read-only
- isStopped → bool
-
read-only
- needsResolving → bool
-
read-only
- progress → Duration
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- source → String
-
final
- state → NowPlayingState
-
final
- title → String
-
final
Methods
-
copy(
) → NowPlayingTrack -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited
Static Properties
- notPlaying ↔ NowPlayingTrack
-
read / write