mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
start implement generator code
This commit is contained in:
12
examples/client_app/lib/my_service.dart
Normal file
12
examples/client_app/lib/my_service.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:cherrypick_annotations/cherrypick_annotations.dart';
|
||||
|
||||
part 'my_service.cherrypick_injectable.g.dart';
|
||||
|
||||
@Injectable()
|
||||
class MyService {}
|
||||
|
||||
// где-то в main:
|
||||
void init() {
|
||||
$initCherrypickGenerated();
|
||||
// ... остальной код
|
||||
}
|
||||
Reference in New Issue
Block a user