@override Map<String, Object?> toJson() => { "id": encodeValue(id), "amount": encodeValue(amount), };