api_rest_flutter 2.0.0 copy "api_rest_flutter: ^2.0.0" to clipboard
api_rest_flutter: ^2.0.0 copied to clipboard

A Flutter package for mobile data management with online/offline CRUD operations, local storage, schema-driven validation, and data synchronization. Mobile only.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.0 2024 #

Added #

  • Mobile data management layer for Flutter Android/iOS applications
  • Online/offline dual mode operation with automatic fallback
  • Local storage using ObjectBox for offline data persistence
  • Bidirectional data synchronization (downLoadInfoFromServer(), uploadInfoToServer())
  • Full CRUD operations: leeById(), guardar(), actualizar(), obtener(), cambiaEstado()
  • Schema-driven validation with validaDataInMap() supporting multiple data types
  • MongoDB-style query support with $and, $or, $regex operators
  • OAuth-like session management with autorizaSesion()
  • Dynamic value resolution for foreign key fields (_dynamicValue suffix)
  • Query building utilities with tokenizaConcatenacion() for MongoDB aggregation pipelines
  • Pagination support for large datasets

Features #

  • ApiRest singleton class for centralized data operations
  • UtilsDataApiRest utility class for data transformation and validation
  • Support for data types: string, number, boolean, array, arrayObjects, object, jsonString
  • Validation types: url, entero, decimal, correo, fecha, fechaHora, cuit, coleccion
  • Change tracking via eTransfer field (D = pending upload, empty = synchronized)
  • Debug logging controlled by enableDebugLogs parameter

Platform Support #

  • Android: ✅
  • iOS: ✅
  • Web: ❌ (not supported)

1.0.0 2024 #

Added #

  • Initial release
  • Basic API REST functionality
  • Cloud data operations
  • Provider-based architecture
0
likes
150
points
194
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for mobile data management with online/offline CRUD operations, local storage, schema-driven validation, and data synchronization. Mobile only.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_data_cloud_provider, flutter_data_shp_provider, flutter_http_provider, flutter_models_provider, flutter_security_provider, flutter_utils_providers, intl

More

Packages that depend on api_rest_flutter