duration property

Future<double?> get duration

Retrieves the total duration of the audio.

This method sends a request to the platform to retrieve the total duration of the currently playing audio.

Implementation

Future<double?> get duration;