Resend
This commit is contained in:
@@ -15,4 +15,15 @@ extension StringExt on String {
|
||||
return CheckPhoneStatus.unknown;
|
||||
}
|
||||
}
|
||||
|
||||
ResendStatus toResendStatus() {
|
||||
switch (this) {
|
||||
case 'RESEND_NOT_ALLOWED':
|
||||
return ResendStatus.resendNotAllowed;
|
||||
case 'SUCCESS':
|
||||
return ResendStatus.success;
|
||||
default:
|
||||
return ResendStatus.unknown;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user