BlocEvent<T, P> constructor

const BlocEvent<T, P>({
  1. P? payload,
  2. Object? error,
  3. T? type,
})

Implementation

const BlocEvent({
  this.payload,
  this.error,
  this.type,
});