INNER CODE UNIT · Dart
getCoinUtil
jaysavsani07/math-metrix · lib/src/core/app_constant.dart:178
static double getCoinUtil(GameCategoryType gameCategoryType) {
switch (gameCategoryType) {
case GameCategoryType.CALCULATOR:
return calculatorCoin;
case GameCategoryType.GUESS_SIGN:
return guessSignCoin;
case GameCategoryType.SQUARE_ROOT:
return squareRootCoin;
case GameCategoryType.MATH_PAIRS:
return mathematicalPairsCoin;
case GameCategoryType.CORRECT_ANSWER:
return correctAnswerCoin;
case GameCategoryType.MAGIC_TRIANGLE:
return magicTriangleCoin;
case GameCategoryType.MENTAL_ARITHMETIC:
return mentalArithmeticCoin;
case GameCategoryType.QUICK_CALCULATION:
return quickCalculationCoin;