uniqueColumnSet property Null safety
The names of a set of columns that must be unique for each row in this table.
Are sorted alphabetically. Not modifiable.
Implementation
List<String>? get uniqueColumnSet =>
_uniqueColumnSet != null ? List.unmodifiable(_uniqueColumnSet!) : null;
Implementation
set uniqueColumnSet(List<String?>? columnNames) {
if (columnNames != null) {
_uniqueColumnSet = List.from(columnNames);
_uniqueColumnSet?.sort((String a, String b) => a.compareTo(b));
} else {
_uniqueColumnSet = null;
}
}