turbo_response 0.2.6 copy "turbo_response: ^0.2.6" to clipboard
turbo_response: ^0.2.6 copied to clipboard

A type-safe response wrapper for handling success and failure states with pattern matching and utility methods.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add turbo_response

With Flutter:

 $ flutter pub add turbo_response

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  turbo_response: ^0.2.6

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:turbo_response/turbo_response.dart';
0
likes
150
points
114
downloads

Publisher

verified publisherultrawideturbodev.com

Weekly Downloads

A type-safe response wrapper for handling success and failure states with pattern matching and utility methods.

Homepage
Repository (GitHub)
View/report issues

Topics

#error-handling #result #response #type-safe #dart

Documentation

API reference

License

MIT (license)

More

Packages that depend on turbo_response