Game constructor

const Game({
  1. required int id,
  2. required String shortName,
  3. required String title,
  4. required FormattedText text,
  5. required String description,
  6. required Photo photo,
  7. Animation? animation,
})

Describes a game. Use getInternalLink with internalLinkTypeGame to share the game

Implementation

const Game({
  required this.id,
  required this.shortName,
  required this.title,
  required this.text,
  required this.description,
  required this.photo,
  this.animation,
});