load abstract method

Future<Duration?> load({
  1. String? file,
  2. Uint8List? bytes,
})

Loads an MP3 file (or bytes when there is no file, on the web) and returns its length when known.

Implementation

Future<Duration?> load({String? file, Uint8List? bytes});