Future<double> get duration { return platform( android: (pool) => _androidModel.getDuration(), ios: (pool) => _iosModel.get_duration().then((it) => it.toDouble()), ); }