Failure constructor
const
Failure(
- String error
Creates a failed result with the given error description.
Implementation
const Failure(this.error);
Creates a failed result with the given error description.
const Failure(this.error);