File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Logger get webBluetoothLogger {
3535///
3636void setWebBluetoothLogger (final Logger logger) {
3737 _webLogger = logger;
38- Future . sync (() async => await _subscription? .cancel ());
38+ unawaited ( _subscription? .cancel ());
3939 _subscription = null ;
4040}
4141
@@ -46,7 +46,7 @@ void setWebBluetoothLogger(final Logger logger) {
4646///
4747void initWebBluetoothLogger () {
4848 final logger = Logger ("flutter_web_bluetooth" );
49- Future . sync (() async => await _subscription? .cancel ());
49+ unawaited ( _subscription? .cancel ());
5050 _subscription = logger.onRecord.listen ((final event) {
5151 // ignore: avoid_print
5252 print ("${event .loggerName }: ${event .time }: ${event .message }" );
Original file line number Diff line number Diff line change @@ -157,10 +157,10 @@ packages:
157157 dependency: "direct dev"
158158 description:
159159 name: lints
160- sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7
160+ sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0
161161 url: "https://pub.dev"
162162 source: hosted
163- version: "5.1.1 "
163+ version: "6.0.0 "
164164 logging:
165165 dependency: "direct main"
166166 description:
@@ -418,4 +418,4 @@ packages:
418418 source: hosted
419419 version: "3.1.3"
420420sdks:
421- dart: ">=3.7 .0-0 <4.0.0"
421+ dart: ">=3.8 .0-0 <4.0.0"
You can’t perform that action at this time.
0 commit comments