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