queryHistorySleep method
Gets the sleep data of a certain day. The query result will be obtained through the sleepChangeEveStm listening stream and saved in the SleepBean.historySleep field.
Implementation
Future<void> queryHistorySleep(int historyTimeType) {
return _platform.queryHistorySleep(historyTimeType);
}