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