Google is committed to advancing racial equity for Black communities. See how.

EventPairPair constructor

*<Null safety>*

EventPairPair()

Implementation

factory EventPairPair() {
  final HandlePairResult result = System.eventpairCreate();
  if (result.status == ZX.OK) {
    return EventPairPair._(
        result.status, EventPair(result.first), EventPair(result.second));
  } else {
    return EventPairPair._(result.status, null, null);
  }
}