plugins property Null safety

List<MBPlugin> plugins

Additional plugins for MBurger

Implementation

List<MBPlugin> get plugins => _plugins;
void plugins=(List<MBPlugin> plugins)

Additional plugins for MBurger

Implementation

set plugins(List<MBPlugin> plugins) {
  plugins.sort((p1, p2) => p1.startupOrder.compareTo(p2.startupOrder));
  _plugins = plugins;
  for (MBPlugin plugin in plugins) {
    plugin.startupBlock();
  }
}