GameEvent class

A class that includes the details about an event.

Constructors

GameEvent({String? description, String? eventId, String? localeValue, String? thumbnailUri, String? name, Player? gamePlayer, int? value, bool? isVisible})
GameEvent.fromMap(Map map)
factory

Properties

description String?
Description of the current event.
getter/setter pair
eventId String?
ID of the current event.
getter/setter pair
gamePlayer Player?
A Player object that contains player information.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isVisible bool?
Whether to display an event. true: yes false: no
getter/setter pair
localeValue String?
Localized event value.
getter/setter pair
name String?
Name of the current event.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnailUri String?
URI of an event icon.
getter/setter pair
value int?
Current event value of the current player.
getter/setter pair

Methods

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

Operators

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