MutableDocument.withId constructor Null safety
Creates a new MutableDocument with a given id
, optionally
initialized with data
.
Allowed value types are Iterable, Array, Blob, DateTime,
Map<String, Object?>, Dictionary, null
, number types, and String.
The collections must contain only the above types.
Implementation
factory MutableDocument.withId(String id, [Map<String, Object?>? data]) =>
MutableDelegateDocument.withId(id, data);