OneError constructor

const OneError({
  1. Key? key,
  2. required Object? error,
  3. StackTrace? stackTrace,
  4. VoidCallback? onRetry,
  5. bool showDetails = false,
})

Implementation

const OneError({
  super.key,
  required this.error,
  this.stackTrace,
  this.onRetry,
  this.showDetails = false,
});