Schema.from constructor Null safety
- Schema? otherSchema
Creates a deep copy of otherSchema
.
Implementation
Schema.from(Schema? otherSchema) {
_tables =
otherSchema?.tables.map((table) => SchemaTable.from(table)).toList() ??
[];
}