asStringValueOrNull

Casts this MetadataValue as a StringValue and retrieves its kotlin.String value. Returns null if the MetadataValue is not a StringValue.