flutter enum with type 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});
}