traitUp method
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);
}
}
}