fields abstract method

Iterable<FieldSpec> fields(
  1. Map<String, dynamic> document
)

Decomposes document into the CRDT records it should be stored as.

Each returned FieldSpec becomes an independently merged record. The paths must be stable across document versions and free of the ASCII Unit Separator (\x1F, U+001F).

Implementation

Iterable<FieldSpec> fields(Map<String, dynamic> document);