RosMessage class abstract interface

Marker for a generated (or hand-written) ROS 2 message type.

Implementations are value types: immutable, with structural equality, so they can be compared, cached and used as Flutter widget inputs safely.

Properties

hashCode → int
The hash code for this object.
no setterinherited
rosType → String
The fully qualified ROS type name, e.g. geometry_msgs/msg/Twist.
no setter
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
toJson() → Map<String, Object?>
The rosbridge JSON representation of this message.
toString() → String
A string representation of this object.
inherited

Operators

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