set<T> method

void set<T>(
  1. PayloadType<T> type,
  2. T value
)

Set the given value using the given PayloadType.

Implementation

void set<T>(PayloadType<T> type, T value) {
  _data.add(_PayloadData<T>(type, value));
}