flutter_network_layer_core 0.6.0 copy "flutter_network_layer_core: ^0.6.0" to clipboard
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.1 #

๐Ÿ“š Documentation #

  • Improve clarity and grammar in README.md

0.5.0 #

๐Ÿ› Bug Fixes #

  • Example project is updated to new version.

  • Example flutter dio app updated to new version of the packages.

๐Ÿšœ Refactor #

  • Init monorepo

  • Update request payload handling and enum definitions

  • Enhance error handling and logging in network invoker.

๐Ÿงช Testing #

  • Root test extended.

0.4.1 #

  • Fix: network_error.dart file is exported in flutter_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 and whenAsync functions of ResponseResult class are updated to be able to return a custom data.

0.2.1 #

  • Readme updated.

0.2.0 #

  • IRequestCommand interface turned into RequestCommand abstract class.
  • IResponseModel interface turned into JsonResponseModel and CustomResponseModel 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.
0
likes
160
points
357
downloads

Publisher

verified publisherfemrek.me

Weekly Downloads

Core library for flutter_network_layer. Includes base classes of flutter_network_layer project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on flutter_network_layer_core