getUserData method
Add user data to effort Maps and connect more user-data. called by: effort / getDiagonalList
Implementation
List<String> getUserData(String choice, String caller) {
List<String> _gudL = [];
print('--->--> effort-getUserData C: $caller param: $choice --->-->');
// code
// user_json.dart has 3 bunch of json data:
if (choice == 'bus') _gudL.addAll([userJson.busJSONEnc]);
if (choice == 'fury') _gudL.addAll([userJson.furyJSONEnc]);
if (choice == 'human') _gudL.addAll([userJson.humanInEnc]);
print(_gudL.length);
print('--->--> effort-getUserData C: $caller --->-->');
return _gudL;
}