Game class

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

Inheritance
Available Extensions

Constructors

Game({required int64 id, required String short_name, required String title, required FormattedText text, required String description, required Photo photo, Animation? animation, int? extra, int? clientId})
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game

Properties

animation Animation?
Game animation; may be null.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
description String
Game description.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
id int64
Unique game identifier. ; string representation of int, use int.parse
read / write
photo Photo
Game photo.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
short_name String
Game short name.
read / write
text FormattedText
Game text, usually containing scoreboards for a game.
read / write
title String
Game title.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) Game?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"game"