EventMessage class
A data update communicated from the platform implementation to the Flutter plugin. Each field should trigger a state update in the frontend plugin if and only if it is not null. Normally, the platform implementation will not need to broadcast new state changes for this state as such state changes will be initiated from the frontend.
- Inheritance
-
- Object
- INativeModel
- EventMessage
Constructors
- EventMessage({required String id, required String value})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
-
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
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map map) → EventMessage