getDiff method

  1. @override
Map<String, String> getDiff(
  1. Equatable other
)
inherited

Returns a map of properties that differ between this object and another.

Implementation

@override
Map<String, String> getDiff(Equatable other) {
  if (this == other) return const {};

  return propsDiff(props, other.props);
}