QuranAudioState class

Immutable snapshot of audio playback state.

Constructors

QuranAudioState({int surah = 1, int ayah = 1, bool isPlaying = false, bool isActive = false, bool isLoading = false, Duration position = Duration.zero, Duration duration = Duration.zero, int reciterIndex = 0})
const

Properties

ayah → int
final
duration → Duration
final
hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
final
isLoading → bool
final
isPlaying → bool
final
position → Duration
final
reciterIndex → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
surah → int
final

Methods

copyWith({int? surah, int? ayah, bool? isPlaying, bool? isActive, bool? isLoading, Duration? position, Duration? duration, int? reciterIndex}) → QuranAudioState
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