SchemaTable constructor Null safety

SchemaTable(
  1. String? name,
  2. List<SchemaColumn> columns,
  3. {List<String>? uniqueColumnSetNames}
)

Creates an instance of this type with a name, columns and uniqueColumnSetNames.

Implementation

SchemaTable(
  this.name,
  List<SchemaColumn> columns, {
  List<String>? uniqueColumnSetNames,
}) {
  uniqueColumnSet = uniqueColumnSetNames;
  _columns = columns;
}