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