NetworkImageLoadException constructor

NetworkImageLoadException({
  1. required int statusCode,
  2. required Uri uri,
})

Creates a NetworkImageLoadException with the specified http statusCode and uri.

Implementation

NetworkImageLoadException({required this.statusCode, required this.uri})
    : _message = 'HTTP request failed, statusCode: $statusCode, $uri';