toValue method

String toValue()

Implementation

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