PatchSetFactory<T> typedef

PatchSetFactory<T> = PatchSet<T> Function(Map<String, dynamic> updatedFields)

A callback the generates instances of a PatchSet from a set of updatedFields.

Implementation

typedef PatchSetFactory<T> = PatchSet<T> Function(
  Map<String, dynamic> updatedFields,
);