PromptState<T> constructor

PromptState<T>(
  1. T value
)

Creates a new prompt state with initial value.

Implementation

PromptState(this.value);