Game constructor

Game({
  1. required String title,
  2. required String description,
  3. required List<PhotoSize> photo,
  4. String? text,
  5. List<MessageEntity>? textEntities,
  6. Animation? animation,
})

Implementation

Game({
  required this.title,
  required this.description,
  required this.photo,
  this.text,
  this.textEntities,
  this.animation,
});