readings abstract method

Future<Map<String, dynamic>> readings({
  1. Map<String, dynamic>? extra,
})

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});