productListFromJson function

ProductListResult productListFromJson(
  1. String str
)

Implementation

ProductListResult productListFromJson(String str) {
 try{
   return ProductListResult.fromJson(json.decode(str));
 }catch(_){
   throw AppException.appError();
 }
}