primaryKeys property

List<TetherColumnInfo> get primaryKeys

Gets a list of columns that are part of the primary key for this table.

Implementation

List<TetherColumnInfo> get primaryKeys =>
    columns.where((col) => col.isPrimaryKey).toList();