toValue method
Implementation
String toValue() {
switch (this) {
case ItemSelection.none:
return 'none';
case ItemSelection.whitelist:
return 'whitelist';
case ItemSelection.all:
return 'all';
}
}
String toValue() {
switch (this) {
case ItemSelection.none:
return 'none';
case ItemSelection.whitelist:
return 'whitelist';
case ItemSelection.all:
return 'all';
}
}