mediaPlayerGetTotalDuration method

Future<int> mediaPlayerGetTotalDuration(
  1. int index
)

Implementation

Future<int> mediaPlayerGetTotalDuration(int index) async {
  var duration = _mediaPlayers[index].instance.getTotalDuration();
  return Future.value(duration);
}