BlocEvent<T, P> constructor

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

Implementation

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