dart_network_layer_core 1.0.0
dart_network_layer_core: ^1.0.0 copied to clipboard
Core library for dart_network_layer. Includes base classes of dart_network_layer project.
dart_network_layer_core #
Core contracts and schema abstractions for Dart Network Layer.
Features #
- Decoupled Architecture: Define your network commands entirely independent of any specific HTTP package.
- Functional Error Handling: Safely map responses using the
NetworkResult<T>hierarchy. - Schema System: Flexible
SchemaandSchemaFactoryinterfaces for data serialization and deserialization. - File Support: Abstract definitions for handling multipart uploads and binary responses.
Guide Status #
The old README walkthrough has been intentionally invalidated.
Use the maintained docs in the root docs/ folder:
What This Package Provides #
INetworkInvokercontract (sendAPI)RequestCommand<T>request definition modelSchemaandSchemaFactoryabstractionsNetworkResult<T>response result hierarchy
For a production-ready implementation, use
dart_network_layer_dio.
License #
Released under the MIT License.