LazyCounterPrices class
Lazy Counter dedicated to Prices counts.
- Inheritance
-
- Object
- LazyCounter
- LazyCounterPrices
Constructors
- LazyCounterPrices(String? owner)
-
const
Properties
Methods
-
getLocalCount(
UserPreferences userPreferences) → int? -
Returns the value cached locally;
inherited
-
getServerCount(
) → Future< int?> -
Gets the latest value from the server.
override
-
getSuffixTag(
) → String -
Returns the suffix tag used to cache the value locally;
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLocalCount(
int value, UserPreferences userPreferences, {required bool notify}) → Future< void> -
Sets the value cached locally;
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited