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:
@@ -3,6 +3,6 @@
|
||||
/// More dartdocs go here.
|
||||
library;
|
||||
|
||||
export 'src/cherrypick_annotations_base.dart';
|
||||
export 'injectable.dart';
|
||||
|
||||
// TODO: Export any libraries intended for clients of this package.
|
||||
|
||||
6
cherrypick_annotations/lib/injectable.dart
Normal file
6
cherrypick_annotations/lib/injectable.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
library;
|
||||
|
||||
/// Отмечает класс как injectable для автоматической регистрации.
|
||||
class Injectable {
|
||||
const Injectable();
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
// Define the Inject annotation
|
||||
class Inject {
|
||||
final String? named;
|
||||
const Inject({this.named});
|
||||
}
|
||||
Reference in New Issue
Block a user