bond_network 0.0.4 bond_network: ^0.0.4 copied to clipboard
Network is a Bond package provides a convenient way to handle API response.
0.0.4 #
- add currentPage property to Meta class.
0.0.3+1 #
- Update
bond_core
dependency.
0.0.3 #
- Introduced
XListResponse
extension forListResponse
objects.- New
merge
method to combine twoListResponse
instances into a single instance.- Merges the
data
arrays. - Takes
meta
andlinks
from the secondListResponse
.
- Merges the
- Use Cases:
- Combine paginated responses.
- Aggregate data from different sources.
- Update existing
ListResponse
with new data while preservingmeta
andlinks
.
- New
0.0.2+1 #
- Export
DoubleConverter
toBondNetwork
'sconverters
list.
0.0.2 #
- Introduced
DoubleConverter
class to handle flexible JSON field types.- Converts incoming JSON values to
double
. - Supports
String
,int
, anddouble
as input types. - Provides a default value fallback in case of conversion failure.
- Enhanced logging within
DoubleConverter
for better debugging.
- Converts incoming JSON values to
0.0.1+5 #
- fix caching when select cacheThenNetwork policy
0.0.1+4 #
- update bond_cache dependency.
- update bond_core dependency.
0.0.1+3 #
- fix read api return status code 403.
0.0.1+2 #
- handle the case where error.response!.data is string
0.0.1+1 #
- update bond_network package.
0.0.1 #
- initial release.