resource_result 0.0.6 copy "resource_result: ^0.0.6" to clipboard
resource_result: ^0.0.6 copied to clipboard

A package that provides a Resource class of any type. Supports the states Success, Failure and Loading.

0.0.6 #

  • Only one type parameter for Success, Loading &Failure.

0.0.5 #

  • Error is not a type parameter. It is a class which must be extended by the client:
class MyAppError extends Error{
  MyAppError(String? message) : super(message);
}

Failure failureWithMyAppError = Failure(MyAppError("My message"));

0.0.2 & 0.0.3 & 0.0.4 #

  • Improved documentation.

0.0.1 #

  • Initial release: Basic functionality provided.
1
likes
100
pub points
3%
popularity

Publisher

unverified uploader

A package that provides a Resource class of any type. Supports the states Success, Failure and Loading.

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on resource_result