📜  类型“双”不是“函数结果”飞镖的“字符串”类型的子类型 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:28.233000             🧑  作者: Mango

代码示例2
This will fix the error type 'int' is not a subtype of type 'double'
To fix type 'double' is not a subtype of type 'String', you need to find out 
the parameter which is returned as a double and you are trying to initialize 
it to a string variable.