fromValue static method
Gets a possible AndroidPullToRefreshSize instance from int value.
Implementation
static AndroidPullToRefreshSize? fromValue(int? value) {
if (value != null) {
try {
return AndroidPullToRefreshSize.values
.firstWhere((element) => element.toValue() == value);
} catch (e) {
return null;
}
}
return null;
}