find method
T?
find(
- dynamic primaryKey
Finds a row by its primary key
Returns null if the row is not found or if the table has no primary key.
Example:
final note = noteTable.find(42);
if (note != null) {
print('Found: ${note.title}');
}
Implementation
T? find(dynamic primaryKey) => _rowsByPrimaryKey[primaryKey];