angel3_orm_generator library Null safety

Classes

ColumnReader
MigrationGenerator
OrmBuildContext
OrmGenerator
Builder that generates <Model>.g.dart from an abstract Model class.
RelationFieldImpl
RelationshipReader

Constants

columnTypeChecker → const TypeChecker
TypeChecker.fromRuntime(Column)
relationshipTypeChecker → const TypeChecker
TypeChecker.fromRuntime(Relationship)

Properties

floatTypes List<ColumnType>
read / write

Functions

buildOrmContext(Map<String, OrmBuildContext> cache, ClassElement clazz, ConstantReader annotation, BuildStep buildStep, Resolver resolver, bool? autoSnakeCaseNames, {bool heedExclude = true}) Future<OrmBuildContext?>
findPrimaryFieldInList(OrmBuildContext ctx, Iterable<FieldElement> fields) FieldElement?
firstModelAncestor(DartType? type) InterfaceType?
futureOf(String type) TypeReference
inferColumnType(DartType type) ColumnType
isHasRelation(Relationship r) bool
isSpecialId(OrmBuildContext ctx, FieldElement field) bool
migrationBuilder(BuilderOptions options) Builder
ormBuilder(BuilderOptions options) Builder
ORM Builder
reviveColumn(ConstantReader cr) Column
reviveORMAnnotation(ConstantReader reader) Orm