PrfOperationExtensions<T> extension
Extension methods for BasePrfObject to provide convenient access.
These methods simplify common operations by automatically using the default PrfService instance, reducing boilerplate in client code.
- on
Methods
-
existsOnPrefs(
) → Future< bool> -
Available on BasePrfObject<
Checks if the key exists in the default PrfService instance.T> , provided by the PrfOperationExtensions extension -
get(
) → Future< T?> -
Available on BasePrfObject<
Gets the value from the default PrfService instance.T> , provided by the PrfOperationExtensions extension -
getOrFallback(
T fallback) → Future< T> -
Available on BasePrfObject<
Gets the value or returns the provided fallback if the value is null.T> , provided by the PrfOperationExtensions extension -
isNull(
) → Future< bool> -
Available on BasePrfObject<
Checks if the value is null in the default PrfService instance.T> , provided by the PrfOperationExtensions extension -
remove(
) → Future< void> -
Available on BasePrfObject<
Removes the value from the default PrfService instance.T> , provided by the PrfOperationExtensions extension -
set(
T value) → Future< void> -
Available on BasePrfObject<
Sets the value using the default PrfService instance.T> , provided by the PrfOperationExtensions extension