network_client library

Classes

NetworkClient
The pristine abstraction for standard REST API communication. It is lean, highly cohesive, and incredibly easy to mock.
NetworkRepository
Marker base type for your feature repositories.
NetworkService
Base class for higher-level domain services wrapping a NetworkClient.
NetworkTransferClient
Dedicated abstraction for large file operations. Keeps the core NetworkClient from becoming a God Object.

Typedefs

JsonParser<T> = T Function(Map<String, dynamic> json)
A function signature for parsing raw JSON maps into strongly-typed models.