SchemaBuilder.fromDifference constructor Null safety

SchemaBuilder.fromDifference(
  1. PersistentStore? store,
  2. SchemaDifference difference,
  3. {bool isTemporary = false,
  4. List<String>? changeList}
)

Implementation

SchemaBuilder.fromDifference(
  this.store,
  SchemaDifference difference, {
  this.isTemporary = false,
  List<String>? changeList,
}) {
  schema = difference.expectedSchema;
  _generateSchemaCommands(
    difference,
    changeList: changeList,
    temporary: isTemporary,
  );
}