Future<void> queryHistorySleep(int historyTimeType) { return mConnconst.invokeMethod('queryHistorySleep', <String, int>{"historyTimeType": historyTimeType}); }