WorkState<Status, Error> constructor

WorkState<Status, Error>({
  1. required Status status,
  2. required Error error,
  3. int errorCode = 0,
})

Implementation

WorkState({
  required this.status,
  required this.error,
  this.errorCode = 0,
});