encodeAndroidOverscrollIndicator static method
Encodes the given value
to a String. Supported values are:
glow
stretch
Implementation
static String? encodeAndroidOverscrollIndicator(
AndroidOverscrollIndicator? value,
) {
String? result;
if (value != null) {
switch (value) {
case AndroidOverscrollIndicator.glow:
result = 'glow';
break;
case AndroidOverscrollIndicator.stretch:
result = 'stretch';
break;
}
}
return _stripDynamicNull(result);
}