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