Initial commit

This commit is contained in:
jahongireshonqulov
2025-10-18 09:40:06 +05:00
commit 1bf3e41abe
352 changed files with 16315 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import 'package:equatable/equatable.dart';
class ProfileResponse extends Equatable {
const ProfileResponse({
this.fullname,
this.phoneNumber,
this.email,
this.ucode,
});
factory ProfileResponse.fromJson(dynamic json) {
return ProfileResponse(
fullname: json['fullname'],
phoneNumber: json['phone_number'],
email: json['email'],
ucode: json['ucode'],
);
}
final String? fullname;
final String? phoneNumber;
final String? email;
final String? ucode;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['fullname'] = fullname;
map['phone_number'] = phoneNumber;
map['email'] = email;
map['ucode'] = ucode;
return map;
}
@override
List<Object?> get props => [fullname, phoneNumber, email, ucode];
}