小编Mah*_*ika的帖子

“int”类型不是“double”类型的子类型

我的颤振应用程序有这个问题。似乎无法加载 API 请求,但是当我在浏览器上尝试时,它返回正常“ http://vplay.id/api/series/popular ”。

调试

exception = {_Exception} Exception: Failed to load
message = "Failed to load"
this = {SeriesProvider} 
 _url = "http://vplay.id/api/"
 _loading = false
 _currentPage = 1
 _pages = 1
 _series = {_GrowableList} size = 0
 _seriesStream = {_AsyncStreamController} 
endpoint = "series/popular"
e = {_TypeError} type 'int' is not a subtype of type 'double'
 _stackTrace = {_StackTrace} 
 _failedAssertion = "is assignable"
 _url = "package:streamapp/src//helpers/parse.dart"
 _line = 31
 _column = 7
 message = "type 'int' is not a …
Run Code Online (Sandbox Code Playgroud)

android dart flutter

15
推荐指数
4
解决办法
3万
查看次数

标签 统计

android ×1

dart ×1

flutter ×1