Skip to content

Commit

Permalink
Add comma.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed May 26, 2024
1 parent 4d143b3 commit 540dd29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions just_audio/lib/just_audio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,8 @@ class AudioPlayer {
/// original [AudioSource]. If [end] is null, it will be reset to the end of
/// the original [AudioSource]. This method cannot be called from the
/// [ProcessingState.idle] state.
Future<Duration?> setClip({Duration? start, Duration? end, dynamic tag}) async {
Future<Duration?> setClip(
{Duration? start, Duration? end, dynamic tag}) async {
if (_disposed) return null;
_setPlatformActive(true)?.catchError((dynamic e) async => null);
final duration = await _load(
Expand All @@ -900,7 +901,7 @@ class AudioPlayer {
child: _audioSource as UriAudioSource,
start: start,
end: end,
tag: tag
tag: tag,
));
return duration;
}
Expand Down

0 comments on commit 540dd29

Please sign in to comment.