UnknownMessageException class
Exception thrown when an unknown message is received.
- Implemented types
Constructors
- UnknownMessageException(String jsonString, {Object? error, StackTrace? stackTrace})
- Creates a new UnknownMessageException.
Properties
- error → Object?
-
An optional error that occurred when parsing the message.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonString → String
-
The JSON string that was not recognized.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
An optional stack trace for the error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited