DefinitionBuilder class Null safety

The api implemented by builder objects provided to DefinitionMacros.

Each type of macro has its own specialized versions of this interface depending on the type of declaration.

This is also used to create TypeDefinitions from runtime Type objects.

Implementers

Constructors

DefinitionBuilder()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
typeDefinitionOf<T>() TypeDefinition
Used to construct a TypeDefinition to a runtime type available to the the macro implementation code.

Operators

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