ZenithMutation<T> constructor

ZenithMutation<T>({
  1. required ZenithRef ref,
  2. required ZenithNode<AsyncValue<T>> state,
})

Creates a mutation that writes operation state to state.

Implementation

ZenithMutation({
  required this._ref,
  required this.state,
});