add propic to appuser object
This commit is contained in:
@@ -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'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user