getTemperature static method

Future<double?> getTemperature()

Retrieves thermal CPU temperature from the device

Implementation

static Future<double?> getTemperature() async {
  return await _channel.invokeMethod("getCpuTemperature");
}