enums with number flutter dart code example
Example: flutter types class enum
enum CarType {
sedan,
suv,
truck
}
class CarHireCompany {
CarType storageType;
CarHireCompany({ this.storageType});
}
enum CarType {
sedan,
suv,
truck
}
class CarHireCompany {
CarType storageType;
CarHireCompany({ this.storageType});
}