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