resolveToolIdByName static method

String resolveToolIdByName({
  1. required String toolName,
  2. required Map<String, String> toolIdByName,
})

Implementation

static String resolveToolIdByName({
  required String toolName,
  required Map<String, String> toolIdByName,
}) => (toolIdByName[toolName] ?? '').trim();