accuracy method
override
Get the reliability metrics of the movement sensor, including various parameters to assess the sensor’s accuracy and precision in different dimensions.
var accuracy = await myMovementSensor.accuracy();
For more information, see Movement Sensor component.
Implementation
@override
Future<Accuracy> accuracy({Map<String, dynamic>? extra}) async {
final request = GetAccuracyRequest()
..name = name
..extra = extra?.toStruct() ?? Struct();
return await client.getAccuracy(request);
}