getAudioLength method
Returns a Duration() with the current audio's length. Returns 0 if no audio is loaded
Implementation
static Future<Duration> getAudioLength() async {
dynamic audioLength = await nativeChannel.invokeMethod("getAudioLength");
return Duration(milliseconds: audioLength);
// returns milliseconds
}