decodeFlexFit function

FlexFit decodeFlexFit(
  1. String name
)

Implementation

FlexFit decodeFlexFit(String name) {
  switch (name) {
    case 'tight':
      return FlexFit.tight;
    case 'loose':
    default:
      return FlexFit.loose;
  }
}