previous method
Get previous size from values return last item if current item is _AdaptiveWindowTypeXs
Implementation
AdaptiveWindowType previous() {
return values[(values.indexOf(this) - 1) % values.length];
}
Get previous size from values return last item if current item is _AdaptiveWindowTypeXs
AdaptiveWindowType previous() {
return values[(values.indexOf(this) - 1) % values.length];
}