UseRowClass class Null safety

An annotation specifying an existing class to be used as a data class.

Annotations

Constructors

UseRowClass(Type type, {String constructor = ''})
Customize the class used by drift to hold an instance of an annotated table. [...]
const

Properties

constructor String
The name of the constructor to use. [...]
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
type Type
The existing class [...]
final

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

Operators

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