x_flutter_core_models 1.0.0
x_flutter_core_models: ^1.0.0 copied to clipboard
Flutter core models — failure types, server error hierarchy, and progress state for domain layers.
1.0.0 #
- Added dartdoc comments to all public constructors and the library directive
- Added
example/example.dartdemonstrating failure handling and progress state
0.1.3 #
- Fix stale "Onix" branding in README description
0.1.2 #
- Updated repository URL to
https://github.com/fakhry-alnaffar/x-flutter-core-models - Updated README installation version
0.1.1 #
- Renamed package from
onix_flutter_core_modelstox_flutter_core_models
0.1.0 #
- Added
ServerFailure.undefined— distinct enum value for unrecognised/unexpected error payloads, soApiUndefinedFailureandApiUnknownFailureno longer shareServerFailure.unknown(breaking: exhaustive switches onServerFailuremust add the new arm) - Fixed
CanceledRequestFailure.==/hashCodecontract violation —operator==now usesruntimeTypeguard, consistent withApiFailureandDefaultProgressState - Fixed
DefaultProgressState.==— addedruntimeTypeguard to prevent subclass instances from comparing equal to base-type instances - Lowered SDK constraint from
^3.12.0to^3.0.0— no Dart 3.12-specific features are used
0.0.3 #
- Raised Dart SDK lower bound to
>=3.12.0— package language version now resolves to 3.12 - Added
analysis_options.yamlwithpackage:lints/recommended.yaml - Added
lints ^6.1.0as dev dependency - Added pub.dev
topicsmetadata - Expanded
descriptionfield - Corrected
repositoryURL to fork - Removed deprecated
librarydirective from barrel file - Populated
README.mdwith usage examples and API reference
0.0.2 #
- Added BaseProgress class
0.0.1 #
- Initial version.