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