FieldReference typedef

FieldReference = Object? Function(Map<Object?, Object?> data)

Reads the field that a reference points to (LIVR 2.5, required_if and when) in the object a rule gets as allValues. Returns the input value, or null when the field is missing.

Implementation

typedef FieldReference = Object? Function(Map<Object?, Object?> data);