Failure constructor

const Failure(
  1. String message, {
  2. StackTrace? stackTrace,
  3. dynamic exception,
})

Implementation

const Failure(this.message, {this.stackTrace, this.exception});