DocumentReferenceExtention extension

on

Methods

set(dynamic object, [SetOptions options]) Future<void>
Sets data on the document an object, overwriting any existing data. If the document does not yet exist, it will be created.
update(dynamic object) Future<void>
Updates data on the document using an object. Data will be merged with any existing document data.