bound_mutation 1.0.3 copy "bound_mutation: ^1.0.3" to clipboard
bound_mutation: ^1.0.3 copied to clipboard

A small wrapper class around Riverpod Mutations to bind a function to a mutation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bound_mutation

With Flutter:

 $ flutter pub add bound_mutation

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

dependencies:
  bound_mutation: ^1.0.3

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:bound_mutation/bound_mutation.dart';
2
likes
140
points
1.19k
downloads

Documentation

API reference

Publisher

verified publisherfirebon.de

Weekly Downloads

A small wrapper class around Riverpod Mutations to bind a function to a mutation.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

riverpod

More

Packages that depend on bound_mutation