WooShippingZoneMethod.fromJson constructor
WooShippingZoneMethod.fromJson(
- Map<String, dynamic> json
)
Implementation
WooShippingZoneMethod.fromJson(Map<String, dynamic> json) {
instanceId = json['instance_id'];
title = json['title'];
order = json['order'];
enabled = json['enabled'];
methodId = json['method_id'];
methodTitle = json['method_title'];
methodDescription = json['method_description'];
settings = json['settings'] != null
? new WooShippingZoneMethodSettings.fromJson(json['settings'])
: null;
links = json['_links'] != null
? new WooShippingZoneMethodLinks.fromJson(json['_links'])
: null;
}