isValidFlexWrapValue static method

bool isValidFlexWrapValue(
  1. String val
)

Implementation

static bool isValidFlexWrapValue(String val) {
  return val == 'wrap' || val == 'nowrap' || val == 'wrap-reverse';
}