Failure<T> constructor

const Failure<T>([
  1. T? error
])

Implementation

const Failure([this.error]);