NetworkError constructor

const NetworkError({
  1. required IOException error,
})

Constructs a NetworkError response with the given exception.

Implementation

const NetworkError({
  required this.error,
});