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

The Dart Mediator package provides an implementation of the Mediator pattern for Dart inspired by MediatR ASP.net Core, including dynamic handler registration via code generation. This pattern is usef [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_mediatr

With Flutter:

 $ flutter pub add dart_mediatr

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

dependencies:
  dart_mediatr: ^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:dart_mediatr/dart_mediatr.dart';
3
likes
0
pub points
51%
popularity

Publisher

unverified uploader

The Dart Mediator package provides an implementation of the Mediator pattern for Dart inspired by MediatR ASP.net Core, including dynamic handler registration via code generation. This pattern is useful for organizing your application's commands and queries by centralizing their processing through a mediator.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, flutter, glob, source_gen

More

Packages that depend on dart_mediatr