duplicate method

EventPair duplicate (int rights)

Duplicate this EventPair with the given rights.

Implementation

EventPair duplicate(int rights) {
  return EventPair(handle!.duplicate(rights));
}