OrmMetaClass class

Orm meta class, used by generator

Constructors

OrmMetaClass(String name, ModelInspector modelInspector, {String? superClassName, bool isAbstract = false, List<OrmAnnotation> ormAnnotations = const [], List<OrmMetaField> fields = const [], List<OrmMetaMethod> methods = const []})

Properties

fields List<OrmMetaField>
final
hashCode int
The hash code for this object.
no setterinherited
idFields List<OrmMetaField>
no setter
isAbstract bool
final
methods List<OrmMetaMethod>
final
modelInspector ModelInspector
final
name String
final
ormAnnotations List<OrmAnnotation>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softDeleteField OrmMetaField?
no setter
superClassName String?
final
tableName String
no setter
versionField OrmMetaField?
no setter

Methods

allFields({bool searchParents = false}) List<OrmMetaField>
findField(String name) OrmMetaField?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serverSideFields(ActionType actionType, {bool searchParents = false}) List<OrmMetaField>
toString() String
A string representation of this object.
inherited

Operators

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