openNotifications method
Opens the notification shade.
See also:
- developer.android.com/reference/androidx/test/uiautomator/UiDevice#opennotification, which is used on Android
Implementation
Future<void> openNotifications() {
return platform.action.mobile(
android: platform.android.openNotifications,
ios: platform.ios.openNotifications,
);
}