Failure<T> constructor

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

Implementation

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