SourceStopped class final

A frame source stopped emitting. reason distinguishes requested stops from failures.

Inheritance
Annotations
  • @immutable

Constructors

SourceStopped(String sourceId, {Object? reason})
Creates the event.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
reason → Object?
Why it stopped, when not a requested stop.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceId → String
Identifier of the source that stopped.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Serializes the event for --json surfaces.
override
toString() → String
A string representation of this object.
override

Operators

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