File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
packages/plugin_platform_interface Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ ## 1.1.0-nullsafety.2
2+
3+ * Use Mockito null safe.
4+
15## 1.1.0-nullsafety.1
26
37* Bump Dart SDK to support null safety.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ abstract class PlatformInterface {
4343 /// Pass a private, class-specific `const Object()` as the `token` .
4444 PlatformInterface ({required Object token}) : _instanceToken = token;
4545
46- final Object _instanceToken;
46+ final Object ? _instanceToken;
4747
4848 /// Ensures that the platform instance has a token that matches the
4949 /// provided token and throws [AssertionError] if not.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ description: Reusable base class for Flutter plugin platform interfaces.
1212# be done when absolutely necessary and after the ecosystem has already migrated to 1.X.Y version
1313# that is forward compatible with 2.0.0 (ideally the ecosystem have migrated to depend on:
1414# `plugin_platform_interface: >=1.X.Y <3.0.0`).
15- version : 1.1.0-nullsafety.1
15+ version : 1.1.0-nullsafety.2
1616
1717repository : https://github.com/flutter/plugins/tree/master/packages/plugin_platform_interface
1818
@@ -23,6 +23,6 @@ dependencies:
2323 meta : ^1.3.0-nullsafety.3
2424
2525dev_dependencies :
26- mockito : ^4.1.1
26+ mockito : ^5.0.0-nullsafety.2
2727 test : ^1.10.0-nullsafety.1
2828 pedantic : ^1.10.0-nullsafety.1
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- // TODO(egarciad): Remove once Mockito is migrated to null safety.
6- // @dart = 2.9
75import 'package:mockito/mockito.dart' ;
86import 'package:test/test.dart' ;
97
You can’t perform that action at this time.
0 commit comments