class RegisterModel { final String token; final int customerId; final bool? autoLogin; final int touristId; RegisterModel({required this.token, required this.customerId, this.autoLogin, required this.touristId}); factory RegisterModel.fromJson(Map json) { return RegisterModel( token: json['token'], customerId: json['customer_id'], autoLogin: json['auto_login'], touristId: json['tourist_id'], ); } }