DecodedMessage class final
A frame decoded with a DBC message definition.
final decoded = db.decode(frame);
decoded?.signals.forEach((name, s) => print(s));
- Annotations
Constructors
-
DecodedMessage({required DbcMessage message, required CanFrame frame, required Map<
String, DecodedSignal> signals}) - Creates a decoded message.
Properties
- frame → CanFrame
-
The decoded frame.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → DbcMessage
-
Definition.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signals
→ Map<
String, DecodedSignal> -
Decoded signals by name: non-multiplexed signals, the multiplexor, and the
signals of the active multiplexed branch. Signals that do not fit in the
frame's data are left out.
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
-
operator [](
String name) → double? -
Physical value of
name, or null.