How to cast Object to a specified type in Flutter

后端 未结 0 696
借酒劲吻你
借酒劲吻你 2021-02-09 22:44

I get a linter error but don\'t know how to fix it

final FoodScreenArguments args = ModalRoute.of(context).settings.arguments;

A value of type \'Object\' can\'t be

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