toValue method
Converts this WidgetLayout to a string value.
Implementation
String toValue() {
switch (this) {
case WidgetLayout.compact:
return 'compact';
case WidgetLayout.expanded:
return 'expanded';
case WidgetLayout.detailed:
return 'detailed';
}
}