A callback the generates instances of a PatchSet from a set of updatedFields.
updatedFields
typedef PatchSetFactory<T> = PatchSet<T> Function( Map<String, dynamic> updatedFields, );