ChannelStateChange class
Contains state change information emitted by RestChannel and RealtimeChannel objects.
- Annotations
Properties
- current → ChannelState
-
The new current ChannelState.
final
- event → ChannelEvent
-
The event that triggered this ChannelState change.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- previous → ChannelState
-
The previous state. For the ChannelEvent.update event, this is equal to
the current ChannelState.
final
- reason → ErrorInfo?
-
An ErrorInfo object containing any information relating to the
transition.
final
- resumed → bool
-
Whether message continuity on this channel is preserved, see
Nonfatal channel errors
for more info.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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