Converts the text representation to an enumerated value.
the string.
a SizeKind or as_size_kind_unknown for unknown