Root class

Top-level node for the AST.

Inheritance

Constructors

Root({required List<Class> classes, required List<Api> apis, required List<Enum> enums})
Parametric constructor for Root.
Root.makeEmpty()
Factory function for generating an empty root, usually used when early errors are encountered.
factory

Properties

apis List<Api>
All the API's contained in the AST.
getter/setter pair
classes List<Class>
All the classes contained in the AST.
getter/setter pair
enums List<Enum>
All of the enums contained in the AST.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requiresOverflowClass bool
Returns true if the number of custom types would exceed the available enumerations on the standard codec.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited