@override Future<int> getCurrentPosition() async { final position = await methodChannel.invokeMethod('getCurrentPosition'); return position as int; }