@override Future<double?> duration() async { return await methodChannel.invokeMethod<double>('duration'); }