Change PasswordIntegration #1

This commit is contained in:
2025-09-09 12:34:45 +05:30
parent b62b8a157d
commit b3fb387bdd
10 changed files with 72 additions and 42 deletions

View File

@@ -1,16 +0,0 @@
class Otp {
final String mobileNumber;
final String type;
Otp({
required this.mobileNumber,
required this.type,
});
Map<String, dynamic> toJson() {
return {
'mobileNumber': mobileNumber,
'type': type,
};
}
}

View File

@@ -1,14 +0,0 @@
class OtpVerify{
final String otp;
OtpVerify({
required this.otp,
}
);
Map<String, dynamic> toJson() {
return {
'otp': otp,
};
}
}

View File

@@ -1,4 +1,4 @@
import 'dart:developer';
import 'package:dio/dio.dart';
import 'package:intl/intl.dart';