ErrorContext constructor

const ErrorContext({
  1. int retryCount = 0,
  2. Duration? timeSinceFirstOccurrence,
  3. bool isTrackingActive = false,
  4. int? batteryLevel,
  5. bool? isCharging,
  6. bool? networkAvailable,
})

Creates an error context.

Implementation

const ErrorContext({
  this.retryCount = 0,
  this.timeSinceFirstOccurrence,
  this.isTrackingActive = false,
  this.batteryLevel,
  this.isCharging,
  this.networkAvailable,
});