get method
Get a value from the local dataset.
Implementation
dynamic get(String table, String key) {
if (!tables.contains(table)) throw 'Unknown table: $table';
final value = getRecord(table, key);
return value == null || value.isDeleted ? null : value.value;
}