mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
13 lines
258 B
Dart
13 lines
258 B
Dart
|
|
import 'package:cherrypick_annotations/cherrypick_annotations.dart';
|
||
|
|
|
||
|
|
part 'my_service.cherrypick_injectable.g.dart';
|
||
|
|
|
||
|
|
@Injectable()
|
||
|
|
class MyService {}
|
||
|
|
|
||
|
|
// где-то в main:
|
||
|
|
void init() {
|
||
|
|
$initCherrypickGenerated();
|
||
|
|
// ... остальной код
|
||
|
|
}
|