toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChangeTokenStatus.provisioned:
      return 'PROVISIONED';
    case ChangeTokenStatus.pending:
      return 'PENDING';
    case ChangeTokenStatus.insync:
      return 'INSYNC';
  }
}