diff abstract method

  1. @override
Map<String, dynamic>? diff(
  1. covariant DatumEntityInterface oldVersion
)
override

Creates a new instance of the entity with updated values. Computes the difference between the current entity state and an oldVersion of the entity.

Implementation

// Note: copyWith is not included in the mixin to allow flexible return types

/// Computes the **difference** between the current entity state and an
/// [oldVersion] of the entity.
@override
Map<String, dynamic>? diff(covariant DatumEntityInterface oldVersion);