onReady method

void onReady(
  1. dynamic callback(
    1. User user
    )
)

callback will be called when the READY event has been recieved.

Implementation

void onReady(Function(User user) callback) => _onReady = callback;