FConfigGenerator class
FConfig 注解代码生成器,实现 source_gen 的 Generator。
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findFirstAnnotation(
Element element, Type type) → ConstantReader? - 查找元素上的第一个指定类型的注解,返回 ConstantReader
-
generate(
LibraryReader library, BuildStep buildStep) → Future< String> - Generates Dart code for an input Dart library.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited