InfospectNetworkError constructor

const InfospectNetworkError({
  1. dynamic error,
  2. StackTrace? stackTrace,
})

Creates an instance of the InfospectNetworkError class.

Parameters:

  • error: The error object (can be of any type).
  • stackTrace: The stack trace associated with the error (optional).

Implementation

const InfospectNetworkError({
  this.error,
  this.stackTrace,
});