Failure<S, E extends Exception> constructor

const Failure<S, E extends Exception>(
  1. E exception
)

Implementation

const Failure(this.exception);