mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
13 lines
293 B
Dart
13 lines
293 B
Dart
import 'package:cherrypick/cherrypick.dart';
|
|
|
|
class Impl1 {}
|
|
class Impl2 {}
|
|
|
|
class NamedModule extends Module {
|
|
@override
|
|
void builder(Scope currentScope) {
|
|
bind<Object>().toProvide(() => Impl1()).withName('impl1');
|
|
bind<Object>().toProvide(() => Impl2()).withName('impl2');
|
|
}
|
|
}
|