TransposedSensorValue<S extends Sensor, X, Y> class
Represent a value provided by a TransposedSensorData.
Considering the following fake accelerometer data:
Timestamp,Acc X,Acc Y,Acc Z,AngA X,AngA Y,AngA Z
2021-12-10 22:06:10.200, 0.13, 0.20, 9.81, 0.00, 0.00, 89.75
...
an object of this class can be built programmatically by
final TransposedSensorValue<Accelerometer, Duration, double> value;
value = TransposedSensorValue(
{
Metric.acceleration: Point3(
Duration.parse("2021-12-10 22:06:10.200"),
x: 0.13,
y: 0.20,
z: 9.81,
),
Metric.accelerometerAngle: Point3(
Duration.parse("2021-12-10 22:06:10.200"),
x: 0.03,
y: 0.00,
z: 89.75,
),
},
key: Duration.parse("2021-12-10 22:06:10.200"),
);
This class has the following contracts, meaning that building an object disrespecting any of these contracts will not throw any errors, but the caller may face unexpected behaviour:
Constructors
-
TransposedSensorValue(Map<
Metric< points, {required X key})S> , Point3<X, Y> > -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transpose(
) → SensorValue< S, X, Y>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited