toFontWeight
Converts the wire-format FontWeightSchema into its Compose FontWeight counterpart — used wherever SimpleText/TextField resolve fontWeight.
Converts the wire-format FontWeightSchema into its Compose FontWeight counterpart — used wherever SimpleText/TextField resolve fontWeight.