clone method

StateData<D, S> clone()

Implementation

StateData<D, S> clone() {
  return StateData(data: this.data, state: this.state);
}