* Extracts value for a specific metadata key
(metadata: Metadata, key: string)
| 67 | * Extracts value for a specific metadata key |
| 68 | */ |
| 69 | static getValue(metadata: Metadata, key: string): string | null { |
| 70 | const entries = this.filterByKey(metadata, key); |
| 71 | if (entries.length === 0) return null; |
| 72 | |
| 73 | return this.parseMetadataEntry(entries[0]).value; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Creates a metadata entry map for efficient lookup |
nothing calls this directly
no test coverage detected