MissileSitePage constructor

MissileSitePage(
  1. {Key key,
  2. String title,
  3. Config cfg}
)

Constructor for MissileSitePage.

During development we log out the results to confirm values collected and to ascertain timing and sequencing of events.

Implementation

MissileSitePage({Key key, this.title,this.cfg}) : super(key: key) {
  assert(log("---- Building Site $cfg ${cfg.getHot('siteName')}"));
  assert(log("Scud ${cfg.hasHot('bnkScud')} ${cfg.getHot('bnkScud')} ${cfg.getHot('depScud')}"));
  assert(log("Patriot ${cfg.hasHot('bnkPatriot')} ${cfg.getHot('bnkPatriot')} ${cfg.getHot('depPatriot')}"));
  assert(log("Cruise ${cfg.hasHot('bnkCruise')} ${cfg.getHot('bnkCruise')} ${cfg.getHot('depCruise')}"));
}