getVerificationTypeValue method

String getVerificationTypeValue()

Returns the string value of the VerificationType.

Implementation

String getVerificationTypeValue() {
  switch (this) {
    case VerificationType.otp:
      return "otp";
    case VerificationType.ussd:
      return "ussd";
  }
}