BlocEventLog constructor

BlocEventLog({
  1. required Bloc bloc,
  2. required Object? event,
  3. required ISpectifyBlocSettings settings,
})

Implementation

BlocEventLog({
  required this.bloc,
  required this.event,
  required this.settings,
}) : super(
        key: getKey,
        settings.printEventFullData
            ? '${bloc.runtimeType} receive event:\n$event'
            : '${bloc.runtimeType} receive event: ${event.runtimeType}',
        title: getKey,
      );