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