如何修复
// Inside the class Bicycle
Bicycle({@required int this.cadence, @required int this.speed, \
@required int this.gear});
是否可以将整个命名参数集标记为@required
?还是其他选择?
Bicycle(@required {int this.cadence, int this.speed, int this.gear});
我是飞镖新手。