registerRecorder function Null safety

void registerRecorder(
  1. BuildContext context,
  2. SoundRecorderUIState recorder
)

Implementation

void registerRecorder(BuildContext context, SoundRecorderUIState recorder) {
  RecorderPlaybackController.of(context)?._state.registerRecorder(recorder);
}