Failure<T> constructor

const Failure<T>({
  1. required String error,
})

Implementation

const factory Failure({required String error}) = _$Failure<T>;