readings abstract method
Get the measurements or readings from this Sensor.
var readings = await mySensor.readings();
For more information, see Sensor component.
Implementation
Future<Map<String, dynamic>> readings({Map<String, dynamic>? extra});