first commit

This commit is contained in:
Anbarasu
2026-05-26 18:01:57 +05:30
commit 6d59c8daf6
297 changed files with 35238 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import '../../modules/authentication/auth.dart';
class LoginResponse {
int? code;
Authentication? details;
String? message;
bool? status;
LoginResponse({this.code, this.details, this.message, this.status});
LoginResponse.fromJson(Map<String, dynamic> json) {
code = json['code'];
details =
json['details'] != null ? new Authentication.fromJson(json['details']) : null;
message = json['message'];
status = json['status'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
if (this.details != null) {
data['details'] = this.details!.toJson();
}
data['message'] = this.message;
data['status'] = this.status;
return data;
}
}