GameLimitsConfig class final

One skin file (3.3 MB), the whole cache (16 MB), one bridge message (64 KB).

Constructors

GameLimitsConfig({required int skinFileMaxBytes, required int skinCacheMaxBytes, required int bridgeMessageMaxBytes})
const

Properties

bridgeMessageMaxBytes → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skinCacheMaxBytes → int
final
skinFileMaxBytes → int
final

Methods

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

Operators

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

Static Methods

parse(Object? json) → GameLimitsConfig

Constants

defaultCacheBytes → const int
defaultFileBytes → const int
defaultMessageBytes → const int
defaults → const GameLimitsConfig