Future<Duration> getCurrentTime() async { int currentTimeInMilliseconds = await (_channel!.invokeMethod(Methods.getCurrentTime)); return Duration(milliseconds: currentTimeInMilliseconds); }