GameProperty class

Annotations

Constructors

GameProperty({String description = '', bool hasThumbnail = false, int? maxPlayers, int currentPlayers = 0, Map<String, SignatureMetadata> packsSignature = const {}, List<int> protocolVersions = const [], List<String> protocolCapabilities = const []})
const

Properties

copyWith → GamePropertyCopyWith<GameProperty, GameProperty, GameProperty>
no setterinherited
currentPlayers int
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
hasThumbnail bool
final
maxPlayers int?
final
packsSignature Map<String, SignatureMetadata>
final
protocolCapabilities List<String>
final
protocolVersions List<int>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

negotiateProtocol([Iterable<int> supportedVersions = kSupportedSetonixProtocolVersions]) int?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requireProtocol([List<int> supportedVersions = kSupportedSetonixProtocolVersions]) int
supportsProtocol([Iterable<int> supportedVersions = kSupportedSetonixProtocolVersions]) bool
toJson() String
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultProperty → const GameProperty