onInitScope method

  1. @override
  2. @mustCallSuper
void onInitScope(
  1. MasamuneAdapter adapter
)
override

Called when initializing MasamuneAdapterScope.

It is possible to describe processes such as receiving an [adapter]' and making it a primary` adapter.

MasamuneAdapterScopeを初期化するときに呼ばれます。

adapterを受け取ってprimaryのアダプターにするなどの処理を記述することができます。

Implementation

@override
@mustCallSuper
void onInitScope(MasamuneAdapter adapter) {
  for (final tmp in masamuneAdapters) {
    tmp.onInitScope(adapter);
  }
}