datos para el servicio
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
export 'location_preferences.dart';
|
||||
|
||||
enum LocationPreferences { office, delivery }
|
||||
|
||||
int enumToInt(LocationPreferences state) {
|
||||
return state.index;
|
||||
}
|
||||
|
||||
LocationPreferences intToEnum(int value) {
|
||||
return LocationPreferences.values[value];
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
export 'location_preferences.dart';
|
||||
export 'service_location_preferences.dart';
|
||||
export 'service_status.dart';
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
export 'service_location_preferences.dart';
|
||||
|
||||
enum ServiceLocationPreferences { office, delivery }
|
||||
|
||||
int enumToInt(ServiceLocationPreferences state) {
|
||||
return state.index;
|
||||
}
|
||||
|
||||
ServiceLocationPreferences intToEnum(int value) {
|
||||
return ServiceLocationPreferences.values[value];
|
||||
}
|
||||
Reference in New Issue
Block a user