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