// Label StoreMax // // Created by Anthony Gordon. // 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. class DefaultShipping { String code; String? country; List states; DefaultShipping( {required this.code, required this.country, required this.states}); } class DefaultShippingState { String? code; String? name; DefaultShippingState({required this.code, required this.name}); Map toJson() { final Map data = {}; data['code'] = code; data['name'] = name; return data; } DefaultShippingState.fromJson(Map json) { code = json['code']; name = json['name']; } }