StateValue

A data object that holds a retrieved state value with its key.

Description

Generic type struct StateValue[T any] for saving states values.

Fields

Key

A unique state key

Key: string

Value

A unique state key

Value: T