StaticBuilderMethod class

Each database class must define a builder method like this:

static DatabaseBuilder<MyDatabase> createBuilder() => _$someMethodName();

The referenced method (_$someMethodName) will be generated by us. We thus need to now the correct name of that method.

Constructors

StaticBuilderMethod(MethodElement method, String nameOfReferencedImplName)

Properties

method MethodElement
The (user defined) method from the source code.
final
nameOfReferencedImplName → String
The name of the referenced method. In the example above, this would be _$someMethodName.
final
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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited