mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
refactor(structure): move benchmarks, scenarios, adapters, utils to dedicated folders; update imports/project layout
This commit is contained in:
10
benchmark_cherrypick/lib/scenarios/parent_module.dart
Normal file
10
benchmark_cherrypick/lib/scenarios/parent_module.dart
Normal file
@@ -0,0 +1,10 @@
|
||||
import 'package:cherrypick/cherrypick.dart';
|
||||
import 'parent_impl.dart';
|
||||
import 'shared.dart';
|
||||
|
||||
class ParentModule extends Module {
|
||||
@override
|
||||
void builder(Scope currentScope) {
|
||||
bind<Shared>().toProvide(() => ParentImpl()).singleton();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user