get method

dynamic get(
  1. String table,
  2. String key
)
inherited

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;
}