Failure<T> constructor

const Failure<T>(
  1. Object error
)

Implementation

const Failure(this.error);