FetchedProduct.error constructor

const FetchedProduct.error({
  1. required String exceptionString,
  2. required bool isConnected,
  3. String? failedPingedHost,
})

When the "fetch product" operation had an internet error.

Implementation

const FetchedProduct.error({
  required String exceptionString,
  required bool isConnected,
  String? failedPingedHost,
}) : this._(
       status: FetchedProductStatus.internetError,
       isConnected: isConnected,
       exceptionString: exceptionString,
       failedPingedHost: failedPingedHost,
     );