put method

Future<void> put(
  1. String table,
  2. String key,
  3. dynamic value, [
  4. bool isDeleted = false,
])
inherited

Insert a single value into this dataset.

Use putAll if inserting multiple values to avoid incrementing the canonical time unnecessarily.

Implementation

// TODO Find a way to make this return [void] for sync implementations
Future<void> put(String table, String key, dynamic value,
        [bool isDeleted = false]) =>
    putAll({
      table: {key: value}
    }, isDeleted);