widgetContent static method
GameRewardsWidgetContent
widgetContent({
- required List<
GameRewardChance> chances, - GameRewardsWidget? widget,
The widget content, hidden when the backend hides it or sends anything unknown.
Implementation
static GameRewardsWidgetContent widgetContent({
required List<GameRewardChance> chances,
GameRewardsWidget? widget,
}) =>
widget?.content ?? const GameRewardsHiddenContent();