toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Type.account:
      return 'ACCOUNT';
    case Type.organization:
      return 'ORGANIZATION';
  }
}