sendEvent method

void sendEvent(
  1. PlayableWorldEvent event, [
  2. Channel target = kAnyChannel
])

Implementation

void sendEvent(PlayableWorldEvent event, [Channel target = kAnyChannel]) {
  _pipe?.sendMessage(event, target);
  if (target == kAnyChannel || target == kAuthorityChannel) {
    add(event);
  }
}