StateEffect constructor

const StateEffect(
  1. Object value
)

Creates an effect payload.

Implementation

const StateEffect(this.value);