put abstract method
creates a structured clone of the value and stores the cloned value in the object store. This is for adding new records, or updating existing records in an object store when the transaction's mode is readwrite.
If the record is successfully stored, then a success event is fired on the returned request object with the result set to the key for the stored record, and the transaction set to the transaction in which this object store is opened.
The put method is an update or insert method. See the ObjectStore.add method for an insert only method.
null value are no longer allowed.
Implementation
Future<Object> put(Object value, [Object? key]);