|
|
@ -107,7 +107,12 @@ class Customer {
|
|
|
|
lastLoginDateUtc = json['last_login_date_utc'];
|
|
|
|
lastLoginDateUtc = json['last_login_date_utc'];
|
|
|
|
lastActivityDateUtc = json['last_activity_date_utc'];
|
|
|
|
lastActivityDateUtc = json['last_activity_date_utc'];
|
|
|
|
registeredInStoreId = json['registered_in_store_id'];
|
|
|
|
registeredInStoreId = json['registered_in_store_id'];
|
|
|
|
roleIds = json['role_ids'].cast<int>();
|
|
|
|
if (json['role_ids'] != null) {
|
|
|
|
|
|
|
|
roleIds = new List<int>();
|
|
|
|
|
|
|
|
json['role_ids'].forEach((v) {
|
|
|
|
|
|
|
|
roleIds.add(v);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|