intialize enum in flutter 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});
}