How to cast Object to a specified type in Flutter

后端 未结 0 1215
粉色の甜心
粉色の甜心 2021-02-09 23:04

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

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