onReady method

void onReady(
  1. void onReady()
)

Implementation

void onReady(void Function() onReady) {
  if (_ready) {
    onReady();
  } else {
    onReadList.add(onReady);
  }
}