productListFromJson function

ProductListResult productListFromJson(
  1. String str
)

Implementation

ProductListResult productListFromJson(String str) {
 try{
   return ProductListResult.fromJson(json.decode(str));
 }catch(_){
   throw const BaseApiException.businessException(message: '转换数据异常');
 }
}