traitUp method

void traitUp(
  1. String event,
  2. Map<String, dynamic> payload
)

Implementation

void traitUp(String event, Map<String, dynamic> payload) {
  if (eventToWaiters.has(event)) {
    List<SingleEventWaiter> waiters = eventToWaiters.get(event);
    for (SingleEventWaiter waiter in waiters) {
      waiter.traitUp(event, payload);
    }
  }
}