LoadFailure constructor

const LoadFailure({
  1. required LoadFailureReason reason,
  2. required String? raw,
  3. Object? error,
  4. StackTrace? stackTrace,
})

Creates a failure result.

Implementation

const LoadFailure({
  required this.reason,
  required this.raw,
  this.error,
  this.stackTrace,
});