ErrorState<T> constructor

const ErrorState<T>({
  1. required String message,
  2. T? data,
})

Implementation

const ErrorState({
  required this.message,
  this.data,
});