getThermalInfo method
Implementation
@override
Future<ThermalInfo> getThermalInfo() async {
final map = await methodChannel.invokeMapMethod<dynamic, dynamic>('getThermalInfo');
if (map == null) {
throw PlatformException(
code: 'NULL_RESPONSE',
message: 'getThermalInfo returned null',
);
}
return ThermalInfo.fromMap(map);
}