fix(auth): correct resend response type and improve error messages
This commit is contained in:
@@ -54,3 +54,13 @@ class SignupStartResponse {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class SignupResendResponse {
|
||||
final String message;
|
||||
|
||||
const SignupResendResponse({required this.message});
|
||||
|
||||
factory SignupResendResponse.fromJson(Map<String, dynamic> json) {
|
||||
return SignupResendResponse(message: json['message'] as String);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user