Result<TData>.failure constructor

Result<TData>.failure(
  1. StatusCode code,
  2. String message
)

Implementation

Result.failure(this.code, this.message) : data = null;