class Auth {
  Auth({
      this.result, 
      this.message, 
      this.name, 
      this.id, 
      this.avatar, 
      this.email, 
      this.type, 
      this.phone, 
      this.loginTime, 
      this.defaultLanguages, 
      this.token,});

  Auth.fromJson(dynamic json) {
    result = json['result'];
    message = json['message'];
    name = json['name'];
    id = json['id'];
    avatar = json['avatar'];
    email = json['email'];
    type = json['type'];
    phone = json['phone'];
    loginTime = json['loginTime'];
    defaultLanguages = json['defaultLanguages'];
    token = json['token'];
  }
  bool? result;
  String? message;
  String? name;
  int? id;
  String? avatar;
  String? email;
  String? type;
  dynamic phone;
  String? loginTime;
  String? defaultLanguages;
  String? token;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['result'] = result;
    map['message'] = message;
    map['name'] = name;
    map['id'] = id;
    map['avatar'] = avatar;
    map['email'] = email;
    map['type'] = type;
    map['phone'] = phone;
    map['loginTime'] = loginTime;
    map['defaultLanguages'] = defaultLanguages;
    map['token'] = token;
    return map;
  }

}