get method
Retrieves the stored object with the ID id
from this box's database.
Returns null if an object with the given ID doesn't exist.
Implementation
T? get(int id) {
final tx = Transaction(_store, TxMode.read);
try {
return tx.cursor(_entity).get(id);
} finally {
tx.close();
}
}