onReferralCopyEvent method

StreamSubscription<Event> onReferralCopyEvent(
  1. Function callback
)

Implementation

StreamSubscription<Event> onReferralCopyEvent(Function callback) {
  return this.onEvent.listen((Event e) {
    if (e is ReferralCopyEvent) {
      callback(e);
    }
  });
}