modified property

bool modified

Returns true when any field is modified considering given initialValues

Implementation

bool get modified => data.entries
    .any((entry) => entry.value.value != _initialValues[entry.key]);