put abstract method

Future<Map<String, dynamic>> put(
  1. Object item, {
  2. String? key,
})

Stores an item in the database.

It will update an item if the key already exists. In the case you do not provide us with a key, we will auto generate a 12 char long string as a key.

Implementation

Future<Map<String, dynamic>> put(Object item, {String? key});