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