WooShippingZoneMethodType.fromJson constructor

WooShippingZoneMethodType.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WooShippingZoneMethodType.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  label = json['label'];
  description = json['description'];
  type = json['type'];
  value = json['value'];
  typeDefault = json['default'];
  tip = json['tip'];
  placeholder = json['placeholder'];
  options = json['options'] != null
      ? new WooShippingZoneMethodOptions.fromJson(json['options'])
      : null;
}