class WarehouseModel { int? id; String? name; String? description; String? address; String? created_by; String? updated_by; WarehouseModel({ this.id, this.name, this.description, this.address, this.created_by, this.updated_by, }); WarehouseModel.fromJson(Map json) { id = json['id']; name = json['name']; description = json['description']; address = json['address']; created_by = json['created_by']; updated_by = json['updated_by']; } Map toJson() => { 'id': id, 'name': name, 'description': description, 'address': address, 'created_by': created_by, 'updated_by': updated_by, }; }