WooOrderCouponLine.fromJson constructor
Implementation
WooOrderCouponLine.fromJson(Map<String, dynamic> json)
: id = json['id'],
code = json['code'],
discount = json['discount'],
discountTax = json['discount_tax'],
metaData = (json['meta_data'] as List)
.map((i) => MetaData.fromJson(i))
.toList();