ItemPaymentGroup.fromJson constructor
Implementation
ItemPaymentGroup.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
icon = json['icon'];
if (json['paymentTypeGroup'] != null) {
paymentTypeGroup = <ItemPaymentTypeGroup>[];
json['paymentTypeGroup'].forEach((v) {
paymentTypeGroup!.add(ItemPaymentTypeGroup.fromJson(v));
});
}
}