ApiFailure<T> constructor

const ApiFailure<T>(
  1. String message, [
  2. Object? error,
  3. StackTrace? stackTrace
])

Implementation

const ApiFailure(this.message, [this.error, this.stackTrace]);