diffFunction property

Function? diffFunction
final

A Function to use when diff the annotated field.

Must be a top-level or static Function with two positional parameters compatible with the field being diffed that returns the same type as the diffed field. e.g: Type? function({Type? currentData, Type newData})

Implementation

final Function? diffFunction;