onRecordingStopped function Null safety

void onRecordingStopped(
  1. BuildContext context,
  2. Duration duration
)

Implementation

void onRecordingStopped(BuildContext context, Duration duration) {
  RecorderPlaybackController.of(context)?._state._onRecorderStopped(duration);
}