MessageData<T> class
Handles supported message data types, their encoding and decoding
Constructors
- MessageData(T _data)
- Constructs a MessageData object.
Properties
- data → T
-
A getter for the
_data
object.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
fromValue(
Object? value) → MessageData? - A static factory method that initializes MessageData with given value and asserts from input type.