DecodedSignal class final

One decoded signal value.

final s = decoded.signals['GearState']!;
print('${s.value} ${s.unit} ${s.text ?? ''}'); // 3.0  Drive
Annotations

Constructors

DecodedSignal({required DbcSignal signal, required num raw, required double value, String? text})
Creates a decoded value.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
raw → num
Raw value: integer, or the IEEE value for float signals.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signal → DbcSignal
Definition.
final
text → String?
Value table text for raw, if defined.
final
unit → String
Unit from the definition.
no setter
value → double
Physical value (raw * factor + offset).
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