Files
c_trans_mobile/lib/features/auth/data/model/login_request.dart
jahongireshonqulov 1bf3e41abe Initial commit
2025-10-18 09:40:06 +05:00

24 lines
446 B
Dart

class LoginRequest {
LoginRequest({
this.email,
this.phone,
this.ucode,});
LoginRequest.fromJson(dynamic json) {
email = json['email'];
phone = json['phone'];
ucode = json['ucode'];
}
String? email;
String? phone;
String? ucode;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['email'] = email;
map['phone'] = phone;
map['ucode'] = ucode;
return map;
}
}