Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter types class enum

enum CarType {
  sedan,
  suv,
  truck
}

class CarHireCompany {
  CarType storageType;

  CarHireCompany({@required this.storageType});
}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #flutter #types #class #enum
ADD COMMENT
Topic
Name
8+6 =