duration property

double? get duration

The duration of the audio file, unit is second.

Implementation

double? get duration {
  double? duration;
  final Map? metaDataMap = _metaDataMap;
  if (metaDataMap != null) {
    duration = metaDataMap['duration']?.toDouble();
  }
  return duration;
}