100% dart
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n  int countTime(String time) {\n    if (time.contains(\'??:??\')) {\n      return 24 * 60;\n    }\n    int res = 1;\n    if (time[0] == \'?\' && time[1] == \'?\') {\n      res *= 24;\n    } else if (time[0] == \'?\') {\n      res *= (int.parse(time[1]) >= 4 ? 2 : 3);\n    } else if (time[1] == \'?\') {\n      res *= (int.parse(time[0]) >= 2 ? 4 : 10);\n    }\n    if (time[4] == \'?\') {\n      res *= 10;\n    }\n    if (time[3] == \'?\') {\n      res *= 6;\n    }\n    return res;\n  }\n}\n\n\n\n```
['Dart']