differ method

bool differ(
  1. DbModel other, {
  2. List<FieldWithValue>? fieldsToCheck,
  3. bool allFields = true,
})

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;
}