encode method
Implementation
String? encode() {
switch (this) {
case Overflow.VISIBLE:
return 'VISIBLE';
case Overflow.HIDDEN:
return 'HIDDEN';
case Overflow.SCROLL:
return 'SCROLL';
case Overflow.UNKNOWN:
return null;
}
}