LoginModel constructor
LoginModel({
- int id = -1,
- int hide_toolbar = 0,
- int auto_play_video = 1,
- int points = 0,
- int password_changed = 0,
- String name = '',
- String birthdate = '',
- String gender = '',
- String email = '',
- String website = '',
- String phone = '',
- String address = '',
- String token_user = '',
- String token2_user = '',
- String province_id = '',
- String province_name = '',
- String district_id = '',
- String district_name = '',
- String user_type = '',
- String image = '',
- String background_image = '',
- String member_rate = '',
- String user_level = '',
- String manager_type = 'member',
- ItemListModel? has_tash_list,
- ShopModel? shop,
- String partner_token = '',
- String partner_type = '',
- String role_type = '',
Implementation
LoginModel({this.id = -1,
this.hidden_phone = 0,
this.hidden_email = 0,
this.hide_toolbar = 0,
this.auto_play_video = 1,
this.points = 0,
this.password_changed = 0,
this.name = '',
this.birthdate = '',
this.gender = '',
this.email = '',
this.website = '',
this.phone = '',
this.address = '',
this.token_user = '',
this.token2_user = '',
this.province_id = '',
this.province_name = '',
this.district_id = '',
this.district_name = '',
this.user_type = '',
this.image = '',
this.background_image = '',
this.member_rate = '',
this.user_level = '',
this.manager_type = 'member',
this.has_tash_list,
this.shop,
this.partner_token = '',
this.partner_type= '',
this.role_type = ''}) {
has_tash_list = ItemListModel();
shop = ShopModel();
}