ProductCode.fromJson constructor

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

Implementation

factory ProductCode.fromJson(Map<String, dynamic> json) {
  return ProductCode(
    code: json['code'] as String?,
    productType: json['productType'] as String?,
  );
}