toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExpirationStatus.enabled:
      return 'Enabled';
    case ExpirationStatus.disabled:
      return 'Disabled';
  }
}