ParseMethodGenerator class
Creates the parser by reading annotated Dart code.
Note: If buile_runner isn't returing an output, turn on extra-verbosesssssss logging to see the generated code before it goes through the formatter:
dart pub run build_runner build -vv
Constructors
- ParseMethodGenerator(bool nullSafe)
Properties
Methods
-
generate(
LibraryReader library, BuildStep buildStep) → FutureOr< String> - Reads a single Dart file and emits the matching parser. Called once per source file.
-
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