buildMissions method
Building mission with it's chores. Callers: 9 chore, chore-test here 7
Implementation
void buildMissions(String caller) {
st['work'] = true;
/// Create default Chore's for everyMission: done in Class!
/// build default Chores:
// print(':BUG:DEBUG:build:Mission:build: $name C: $caller');
//
_flowC('-->-m--> :M:b: $name -->-m--> ', _pB);
_flowC('-->-m--> construct default Chores. For: $name -->-m--> ', _pB);
_flowC(':M:build: => :chore.onB:: ', _pB);
/// Should use instance, that is created inside THIS mission instance.
learnChr.build(_emblem, name); // new parameter in Chore.build
joyChr.build(_emblem, name); // emblem and master parameters to Chore.
actChr.build(_emblem, name);
peopleChr.build(_emblem, name);
placeChr.build(_emblem, name);
seasonChr.build(_emblem, name);
showChr.build(_emblem, name);
_flowC('-->>-->>-- :M:build: calling :connector: -->>-->>--', _pB);
// Join created object to :CON:connector: system.
String _nS = name.substring(0, 7);
String connectorMsg = ':INFO :ALL M: $_nS :are :READY :FOR :DAY :EVENT ';
// devl:MIS scout ? connector.scoutJoin(placardM
// instead of ':M:build:' putting name to join-call.
connector.join(name, placardM, connectorMsg, name);
connector.roll();
st['con'] = true;
/// add default chores to choreL and devl:MIS forEach.build
// Short way: choreL.forEach(build);
_flowC('-->-m--> choreL add-all: $name ', _pB);
choreL.addAll(
[learnChr, joyChr, actChr, peopleChr, placeChr, seasonChr, showChr]);
// CODE
_flowC(' <-m--<-- :M:b: done $name ', _pB);
}