onInitScope method
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
void onInitScope(MasamuneAdapter adapter) {
super.onInitScope(adapter);
if (adapter is! LocalNotificationMasamuneAdapter) {
return;
}
_primary = adapter;
}