TileCacheBudget class

Defines a resource budget, either in tile units or in megabytes.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The size of the budget.
getter/setter pair
type TileCacheBudgetType
The type of TileCacheBudget, either in Tiles or in Megabytes
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
Returns the TileCacheBudget formatted into an object
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object? budget) TileCacheBudget?
Decodes the TileCacheBudget from and object