Why can't I initialize a “const” variable with a primitive value received as a function argument in Dart?

后端 未结 0 1211
小鲜肉
小鲜肉 2020-11-28 06:03

I understand that, in Dart, primitives are passed by value and Objects are passed by reference.
So, I expected that

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题