FlutterSoundFFmpegConfig constructor Null safety

FlutterSoundFFmpegConfig()

Implementation

FlutterSoundFFmpegConfig() {
  logCallback = null;
  statisticsCallback = null;

  print('Loading flutter-ffmpeg.');

  _eventChannel.receiveBroadcastStream().listen(_onEvent, onError: _onError);

  enableLogs();
  enableStatistics();
  enableRedirection();

  getPlatform().then((name) => print('Loaded flutter-ffmpeg-$name.'));
}