@override Map<String, Object?> toMap() { final data = <String, Object?>{ 'previousRate': previousRate, 'newRate': newRate, }; data.removeWhere((key, value) => value == null); return data; }