result_kit 0.1.0 copy "result_kit: ^0.1.0" to clipboard
result_kit: ^0.1.0 copied to clipboard

Typed results and async state models for clean Dart and Flutter applications.

0.1.0 #

  • Initial release.
  • Result<T> sealed type with Ok and Err variants.
  • Failure sealed type: network, auth, server, unknown, validation.
  • DataState<T>, ActionState<T>, PaginatedDataState<T> async state machines.
  • PaginationMetadata for paginated list state.
  • AsyncUseCase, AsyncUseCaseNoParams, SyncUseCase, SyncUseCaseNoParams interfaces.
  • ApiGuard.run() with abstract ApiAdapter interface.
  • DioAdapter — bundled Dio implementation of ApiAdapter.
2
likes
160
points
207
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Typed results and async state models for clean Dart and Flutter applications.

Repository (GitHub)
View/report issues

Topics

#result #state-management #networking #clean-architecture #flutter

License

MIT (license)

Dependencies

dio, freezed_annotation

More

Packages that depend on result_kit