Future<int> startEchoTest(int timeInterval) async { int code = await _channel.invokeMethod('startEchoTest', timeInterval) ?? -1; return code; }