differ method
Check weather there are different in some fields values.
other The other model want to copy values from
allFields Check (id, serverId, creationTime, modificationTime) values
Implementation
bool differ(DbModel other,
{List<FieldWithValue>? fieldsToCheck, bool allFields = true}) {
return differIn(other, fieldsToCheck: fieldsToCheck, allFields: allFields)
.isNotEmpty;
}