getDuration method

int getDuration()

Implementation

int getDuration() {
  return _player.duration?.inMilliseconds ?? 0;
}