onAsyncInstanceReady method

void onAsyncInstanceReady(
  1. Type type,
  2. int? index
)

Runs for every async instance when it is initialized

type - type of instance that is ready index - index of instance that is ready

Implementation

void onAsyncInstanceReady(Type type, int? index) {}