set method

void set(
  1. T value
)

(en) Set value to this slot. The value you set will be deep-copied internally. Any listeners associated with the slot will be notified of the change.

(ja) このスロットに値を設定します。 セットする値は内部的にディープコピーされます。 スロットと紐付いたリスナーに変更が通知されます。

  • value : The value to set. Only primitive or JSON serializable values or classes that extend CloneableFile can be set.

Implementation

void set(T value) {
  state.set<T>(this, value);
}