add propic to appuser object
This commit is contained in:
parent
ed49e27bb7
commit
9ed1e80701
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ class AppUser {
|
||||||
final String type;
|
final String type;
|
||||||
final String app_id;
|
final String app_id;
|
||||||
final String username;
|
final String username;
|
||||||
|
final String pro_pic_path;
|
||||||
|
|
||||||
const AppUser(
|
const AppUser(
|
||||||
this.idUser,
|
this.idUser,
|
||||||
|
|
@ -16,6 +17,7 @@ class AppUser {
|
||||||
this.type,
|
this.type,
|
||||||
this.app_id,
|
this.app_id,
|
||||||
this.username,
|
this.username,
|
||||||
|
this.pro_pic_path,
|
||||||
);
|
);
|
||||||
|
|
||||||
factory AppUser.fromJson(dynamic json) {
|
factory AppUser.fromJson(dynamic json) {
|
||||||
|
|
@ -27,6 +29,7 @@ class AppUser {
|
||||||
json['type'],
|
json['type'],
|
||||||
json['app_id'],
|
json['app_id'],
|
||||||
json['username'],
|
json['username'],
|
||||||
|
json['pro_pic_path'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue