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