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