name property

String get name

Implementation

String get name {
  switch (this) {
    case OtpMethods.login:
      return 'otpLogin';
    case OtpMethods.update:
      return 'otpUpdate';
    case OtpMethods.verify:
      return 'otpVerify';
  }
}