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