Schema.from constructor

Schema.from(
  1. Schema otherSchema
)

Creates a deep copy of otherSchema.

Implementation

Schema.from(Schema otherSchema) {
  _tables =
      otherSchema.tables!.map((table) => SchemaTable.from(table!)).toList();
}