PlaybackDisposition.zero constructor

PlaybackDisposition.zero()

A convenience ctor. If you are using a stream builder you can use this to set initialData with both duration and postion as 0.

Implementation

PlaybackDisposition.zero()
    : position = Duration(seconds: 0),
      duration = Duration(seconds: 0);