encodeFlexFit static method
Encodes the given value
to the String representation. Supported values
are:
loose
tight
Implementation
static String? encodeFlexFit(FlexFit? value) {
String? result;
if (value != null) {
switch (value) {
case FlexFit.loose:
result = 'loose';
break;
case FlexFit.tight:
result = 'tight';
break;
}
}
return result;
}