BlocEventLog constructor

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

Implementation

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