StatedConsumer<TS extends Stated>.patterns constructor

const StatedConsumer<TS extends Stated>.patterns(
  1. Map<OnState<TS>, ValueConsumer<TS>> patterns
)

Implementation

const StatedConsumer.patterns(this.patterns);