SaveFailure constructor

const SaveFailure({
  1. required SaveFailureReason reason,
  2. required SaveContext context,
  3. Object? error,
  4. StackTrace? stackTrace,
  5. SaveEnvelope? envelope,
  6. String? raw,
  7. bool backupWritten = false,
  8. bool primaryWritten = false,
})

Creates a failure result.

Implementation

const SaveFailure({
  required this.reason,
  required this.context,
  this.error,
  this.stackTrace,
  this.envelope,
  this.raw,
  this.backupWritten = false,
  this.primaryWritten = false,
});