compareToDeleteParams method

Map<String, dynamic> compareToDeleteParams(
  1. DeleteParams other
)

Implementation

Map<String, dynamic> compareToDeleteParams(DeleteParams other) {
  final Map<String, dynamic> diff = {};

  if (params != other.params) {
    diff['params'] = () => other.params;
  }

  if (id != other.id) {
    diff['id'] = () => other.id;
  }
  return diff;
}