set method

  1. @override
Future<void> set(
  1. T? data, [
  2. SetOptions? options
])
override

Sets data on the document, overwriting any existing data. If the document does not yet exist, it will be created.

If SetOptions are provided, the data will be merged into an existing document instead of overwriting.

Implementation

@override
_i8.Future<void> set(T? data, [_i12.SetOptions? options]) => (super.noSuchMethod(Invocation.method(#set, [data, options]),
    returnValue: Future<void>.value(), returnValueForMissingStub: Future.value()) as _i8.Future<void>);