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

A type-safe response that can be either successful or failed, with proper error handling and pattern matching.

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.1

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
0
points
240
downloads

Publisher

verified publisherultrawideturbodev.com

Weekly Downloads

A type-safe response that can be either successful or failed, with proper error handling and pattern matching.

Homepage
Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

flutter

More

Packages that depend on turbo_response