Failure<T, E extends Object> constructor

const Failure<T, E extends Object>(
  1. E error
)

Implementation

const Failure(this.error);