onceConnect abstract method

void onceConnect(
  1. void cb()
)

Implementation

void onceConnect(void Function() cb);