LazyCounterUserSearch class
Lazy Counter dedicated to OFF User Search counts.
- Inheritance
-
- Object
- LazyCounter
- LazyCounterUserSearch
Constructors
- LazyCounterUserSearch(UserSearchType type)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → UserSearchType
-
final
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