Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
childrenOrNull (dynamic unknown )
→ List <Map <String , dynamic > > ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the children property, or returns null.
columnDefaultOrNull (dynamic unknown )
→ String ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the columnDefault property, or returns null. Consumed by the DBML
emitter to render default: <value>; it does not affect the Dart model.
descriptionOrNull (dynamic unknown )
→ String ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the description property, or returns null.
fieldPathOrNull (dynamic unknown )
→ List <String > ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the fieldPath property, normalising it to a List<String>.
fieldTypeOrNull (dynamic unknown )
→ String ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the fieldType property, or returns null.
foreignKeyOrNull (dynamic unknown )
→ bool ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the foreignKey property, or returns null.
normalisePath (Object ? raw )
→ List <String > ?
Shared normaliser — String/Iterable<String>/null → List<String>?.
nullableOrNull (dynamic unknown )
→ bool ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the nullable property, or returns null.
ofOrNull (dynamic unknown )
→ FieldModel ?
Assumes unknown is a TFieldRecord or FieldModel and
tries to construct a FieldModel , otherwise returns null.
primaryKeyOrNull (dynamic unknown )
→ bool ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the primaryKey property, or returns null.
referencesOrNull (dynamic unknown )
→ Object ?
Assumes unknown is a TFieldRecord or FieldModel and tries to get
the references property, or returns null. The value is typically a
Type literal (e.g. references: ModelUser); the generator resolves it
to the target model at codegen time.