Result<TData>.failure constructor
Result<TData>.failure (
- StatusCode code,
- String message
Implementation
Result.failure(this.code, this.message) : data = null;