flutter_network_layer_core 0.6.0
flutter_network_layer_core: ^0.6.0 copied to clipboard
Core library for flutter_network_layer. Includes base classes of flutter_network_layer project.
0.6.0 #
๐ Features #
- Feat: Create ResponseModelFactory and subclasses to reduce ResponseModel. No more sample response model.
- Remove JsonResponseModel and CustomResponseModel classes. ResponseModes can be extended directly.
- Create abstract classes 'JsonResponseFactory' and 'CustomResponseFactory' to extend for each response model.
- Update RequestCommand with 'responsefactory' field instead of 'sampleModel'.
0.5.0 #
0.4.1 #
- Fix:
network_error.dart
file is exported influtter_network_layer_core.dart
file.
0.4.0 #
- Logging components are added to the core library. The implementations must provide an
onLog
function. - Error types are created for the errors occurs in the network invokers.
0.3.0 #
when
andwhenAsync
functions ofResponseResult
class are updated to be able to return a custom data.
0.2.1 #
- Readme updated.
0.2.0 #
IRequestCommand
interface turned intoRequestCommand
abstract class.IResponseModel
interface turned intoJsonResponseModel
andCustomResponseModel
abstract classes.- In product level, requests and responses have to be created by extending these abstract classes.
0.1.1 #
- Readme updated.
- Example project updated.
0.1.0 #
- Alpha release
0.0.1 #
- initial release.