You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
497 B
Dart
25 lines
497 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class UpdatePasswordModel {
|
|
final String? password;
|
|
final String ?confirmPassword;
|
|
final String ?userId;
|
|
final String ?token;
|
|
|
|
UpdatePasswordModel({
|
|
required this.password,
|
|
required this.confirmPassword,
|
|
required this.userId,
|
|
required this.token,
|
|
});
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'password': password,
|
|
'confirmPassword': confirmPassword,
|
|
'userId': userId,
|
|
'token': token,
|
|
};
|
|
}
|
|
}
|