getClayMap function

Map<String, Map<String, String>> getClayMap(
  1. String _command
)

return asked Map Suppose Map must be type: Map<String, Map<String, String>>

Implementation

Map<String, Map<String, String>> getClayMap(String _command) {
  String command = _command;
  Map<String, Map<String, String>> _retM = {};
  switch (command) {
    case 'packDawo':
      _retM = packDawoClay();
      break;
    case 'helsinkiGuide':
      _retM = helsinkiGuideClay();
      break;
    case 'learnDartlang':
      _retM = learnDartlangClay();
      break;
    case 'myMusic':
      _retM = myMusicClay();
      break;
    case 'myTime':
      _retM = myTimeClay();
      break;
    case 'nationalParks':
      _retM = nationalParksClay();
      break;
    default:
      executeUnknownClay();
  }
  return _retM;
}