SourceAddedEvent class

Emitted when a Source was added to the player.

Inheritance
Mixed in types
Annotations

Constructors

SourceAddedEvent({required Source source, required int? timestamp, required int index})
const
SourceAddedEvent.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
The position in the playlist the source was added into.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source
The source that was added to the active playback session.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
timestamp int?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited