core.Map<core.String, core.dynamic> toJson() => { if (transactionId != null) 'transactionId': transactionId!, };