class Address { Address(); String? address; String? area; String? city; String? cityInfo; String? id; bool? isDefault; String? latitude; String? longitude; String? mid; String? phone; String? province; String? tag; String? username; factory Address.fromJson(Map json) => Address() ..address = json['address'] as String ..area = json['area'] as String ..city = json['city'] as String ..cityInfo = json['cityInfo'] as String ..id = json['id'] as String ..isDefault = json['isDefault'] as bool ..latitude = json['latitude'] as String ..longitude = json['longitude'] as String ..mid = json['mid'] as String ..phone = json['phone'] as String ..province = json['province'] as String ..tag = json['tag'] as String ..username = json['username'] as String; Map toJson() => { 'address': this.address, 'area': this.area, 'city': this.city, 'cityInfo': this.cityInfo, 'id': this.id, 'isDefault': this.isDefault, 'latitude': this.latitude, 'longitude': this.longitude, 'mid': this.mid, 'phone': this.phone, 'province': this.province, 'tag': this.tag, 'username': this.username, }; }