MutableDocument constructor

MutableDocument([
  1. Map<String, Object?>? data
])

Creates a new MutableDocument with a random UUID, 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([Map<String, Object?>? data]) =>
    MutableDelegateDocument(data);