compile static method
Implementation
static Future<void> compile(List<Logic> logicArray) async {
WidgetsFlutterBinding.ensureInitialized();
for (Logic logic in logicArray) {
final hasInit = !_channelBus.containsKey(logic.channel);
_channelBus.putIfAbsent(logic.channel, () => 'init');
hasInit ? await logic.initializer() : await logic.reviver();
}
}