@override Map<String, Object?> toJson() => { if (payments != null) 'payments': encodeValue(payments), if (payouts != null) 'payouts': encodeValue(payouts), };