Skip to content

Commit 19ab0e3

Browse files
committed
Remove unnecessary nullable qualifiers
1 parent c4a2034 commit 19ab0e3

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

permission_handler_html/example/analysis_options.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

permission_handler_html/lib/permission_handler_html.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import 'web_delegate.dart';
1010

1111
/// Platform implementation of the permission_handler Flutter plugin.
1212
class WebPermissionHandler extends PermissionHandlerPlatform {
13-
static final web.MediaDevices? _devices = web.window.navigator.mediaDevices;
13+
static final web.MediaDevices _devices = web.window.navigator.mediaDevices;
1414
static final web.Geolocation _geolocation = web.window.navigator.geolocation;
15-
static final web.Permissions? _htmlPermissions =
15+
static final web.Permissions _htmlPermissions =
1616
web.window.navigator.permissions;
1717

1818
final WebDelegate _webDelegate;

0 commit comments

Comments
 (0)