duration method

Future<Duration?> duration(
  1. AudioPlayer player
)

Implementation

Future<Duration?> duration(AudioPlayer player) => player.getDuration();