SchemaBuilder<_ClassAnnotation> class Null safety

Write a Schema from existing migrations. Outputs to app/db/schema.g.dart

Inheritance
Available Extensions

Constructors

SchemaBuilder()

Properties

buildExtensions Map<String, List<String>>
Mapping from input file extension to output file extensions. [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
logger Logger
read-only, inherited
outputExtension String
The cached file this will produce
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schemaGenerator SqliteSchemaGenerator
read-only, inherited
typeChecker TypeChecker
final, inherited

Methods

build(BuildStep buildStep) Future<void>
Generates the outputs for a given BuildStep.
override
getAnnotatedElements(BuildStep buildStep) Future<Iterable<AnnotatedElement>>
Classes with the class-level annotation. For example, ConnectOfflineFirstWithRest.
inherited
logStopwatch(String task, Stopwatch stopwatch) → void
After a task has completed, log time to completion.
inherited
manuallyUpsertAppFile(String path, String contents) Future<File>
Create or write to file.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
replaceWithinFile(String path, Pattern from, String to) Future<File?>
Replace contents of file
inherited
sqliteFieldsFromBuildStep(BuildStep buildStep) Future<List<SqliteFields>>
inherited
stopwatchToSeconds(Stopwatch stopwatch) String
Stop stopwatch and conditionally format elapsed time as seconds or ms
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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