DmxField class final

One instance field of the annotated declaration.

Constructors

DmxField(String name, {required String type, required String typeNonNull, required bool nullable, String? defaultValue, List<DmxAnnotation> annotations = const []})
Builds a field view.
const

Properties

annotations List<DmxAnnotation>
Everything attached to the field.
final
defaultValue String?
The constructor default, verbatim, when the author wrote one.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The field name, as the author wrote it.
final
nullable bool
Whether the written type is nullable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type as written, e.g. DateTime?.
final
typeNonNull String
The same type without its trailing ?.
final

Methods

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