re factor rog
This commit is contained in:
17
lib/features/initializer/icheck.dart
Normal file
17
lib/features/initializer/icheck.dart
Normal file
@ -0,0 +1,17 @@
|
||||
abstract class ICheck {
|
||||
Future<bool> check();
|
||||
}
|
||||
|
||||
abstract class ILocationCheck extends ICheck {
|
||||
Future<bool> locationPermissionStatus();
|
||||
// Additional location-specific methods can be defined here
|
||||
}
|
||||
|
||||
abstract class ICameraCheck extends ICheck {
|
||||
Future<bool> cameraPermissionStatus();
|
||||
// Additional camera-specific methods can be defined here
|
||||
}
|
||||
|
||||
abstract class INetworkCheck extends ICheck {
|
||||
// Additional network-specific methods can be defined here
|
||||
}
|
||||
Reference in New Issue
Block a user