step 9 : listing history scan dan pull to refresh, perbaikan auth model add host

This commit is contained in:
sindhu
2025-02-15 22:04:19 +07:00
parent 32abcb60dc
commit e90c710333
10 changed files with 378 additions and 122 deletions

View File

@@ -1,14 +1,17 @@
class AuthModel {
final String token;
final String host;
final UserModel model;
AuthModel({
required this.host,
required this.token,
required this.model,
});
Map<String, dynamic> toJson() {
return {
'host':host,
'token': token,
'model': model.toJson(),
};