Outcome<Data>.failed constructor
const
Outcome<Data>.failed ([
- Data? data
Indicates the action failed
Implementation
const Outcome.failed([this.data]) : status = ActionStatus.failed;