OnPaused typedef Null safety

void OnPaused(
  1. RecordedAudio media,
  2. bool isPaused
)

Callback fn type

Implementation

typedef OnPaused = void Function(RecordedAudio media, bool isPaused);