init method
Implementation
Future<void> init() async {
if (Platform.isIOS) {
self?.service = ScreenOrientationIosService();
} else if (Platform.isAndroid) {
self?.service = ScreenOrientationAndroidService();
}
}
Future<void> init() async {
if (Platform.isIOS) {
self?.service = ScreenOrientationIosService();
} else if (Platform.isAndroid) {
self?.service = ScreenOrientationAndroidService();
}
}