Dart Decision Making

Decision-making statements allow programmers to choose which statement should be executed under different conditions. At runtime, the decision-making statements determine which statement to execute based on the test expression.

There are four types:

  1. if statement

  2. if-else statement

  3. if else if statement

  4. switch case statement