toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Type.system:
      return 'SYSTEM';
    case Type.custom:
      return 'CUSTOM';
  }
}