stripExactSourceMetadata function

String stripExactSourceMetadata(
  1. String text
)

Removes a valid exact-source trailer while leaving unrecognized tag data untouched.

Implementation

String stripExactSourceMetadata(String text) =>
    tryDecodeExactSourceMetadata(text)?.visibleText ?? text;