initialized method

void initialized()

Use it signal that the native player creation is done.

Implementation

void initialized() {
  isInitialized = true;
  _stateChangeListener?.call();
}