build method

Map<OnState<TS>, ValueConsumer<TS>> build()

Implementation

Map<OnState<TS>, ValueConsumer<TS>> build() {
  if (!_hasRan) {
    _patterns = {};
    buildAction(this);
    _hasRan = true;
  }

  return _patterns;
}