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