Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

switch case dart

switch(variable_expression) { 
   case constant_expr1: { 
      // statements; 
   } 
   break; 
  
   case constant_expr2: { 
      //statements; 
   } 
   break; 
      
   default: { 
      //statements;  
   }
   break; 
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #switch #case #dart
ADD COMMENT
Topic
Name
4+1 =