State constructor

const State(
  1. Status status,
  2. Result result
)

Implementation

const State(this.status, this.result);