PrefsGenerator class
Methods
-
generate(LibraryReader library, BuildStep buildStep)
→ FutureOr<String>
-
Generates Dart code for an input Dart library.
inherited
-
generateForAnnotatedElement(Element element, ConstantReader annotation, BuildStep buildStep)
→ Future<String>
-
Implement to return source code to generate for
element
.
-
generateGettersAndSetters(StringBuffer strBuffer, FieldInfo field, bool onlyModifier, bool toggleMethodForBoolValues)
→ void
-
-
generatePrefKeysClass(StringBuffer strBuffer, String className, List<FieldInfo> fields)
→ void
-
-
generateProviderExtMethods(StringBuffer strBuffer, String className)
→ void
-
-
generateToStringMethod(StringBuffer strBuffer, List<FieldInfo> fields)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited