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