StorageBuilderExtensions extension
Extensions for creating StorageItems with common types
- on
Methods
-
asBoolStorage(
{bool defaultValue = false, bool isSecure = false}) → StorageItem< bool> -
Available on String, provided by the StorageBuilderExtensions extension
Creates a boolean storage item -
asDateTimeStorage(
{DateTime? defaultValue, bool isSecure = false}) → StorageItem< DateTime> -
Available on String, provided by the StorageBuilderExtensions extension
Creates a DateTime storage item -
asDoubleStorage(
{double defaultValue = 0.0, bool isSecure = false}) → StorageItem< double> -
Available on String, provided by the StorageBuilderExtensions extension
Creates a double storage item -
asIntStorage(
{int defaultValue = 0, bool isSecure = false}) → StorageItem< int> -
Available on String, provided by the StorageBuilderExtensions extension
Creates an int storage item -
asStorage(
{String defaultValue = '', bool isSecure = false}) → StorageItem< String> -
Available on String, provided by the StorageBuilderExtensions extension
Creates a string storage item