Constructors

Properties

storageData: Record<string, dynamic> = {}

Methods

  • Retrieves data from storage based on the feature key and user ID.

    Parameters

    • featureKey: any

      The key to identify the feature data.

    • context: ContextModel

    Returns Promise<Record<any, any>>

    A promise that resolves to the data retrieved or an error/storage status enum.

  • Stores data in the storage.

    Parameters

    • data: Record<any, any>

      The data to be stored as a record.

    Returns Promise<void>

    A promise that resolves to true if data is successfully stored, otherwise false.