This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree 3 files changed +7
-5
lines changed
packages/connectivity/connectivity 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## 3.0.1
2
+
3
+ * Migrate tests to null safety.
4
+
1
5
## 3.0.0
2
6
3
7
* Migrate to null safety.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: connectivity
2
2
description : Flutter plugin for discovering the state of the network (WiFi &
3
3
mobile/cellular) connectivity on Android and iOS.
4
4
homepage : https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity
5
- version : 3.0.0
5
+ version : 3.0.1
6
6
7
7
flutter :
8
8
plugin :
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style license that can be
3
3
// found in the LICENSE file.
4
4
5
- // TODO(cyanglaz): Remove once Mockito is migrated to null safety.
6
- // @dart = 2.9
7
5
import 'package:connectivity/connectivity.dart' ;
8
6
import 'package:connectivity_platform_interface/connectivity_platform_interface.dart' ;
9
7
import 'package:flutter_test/flutter_test.dart' ;
@@ -18,8 +16,8 @@ const LocationAuthorizationStatus kGetLocationResult =
18
16
19
17
void main () {
20
18
group ('Connectivity' , () {
21
- Connectivity connectivity;
22
- MockConnectivityPlatform fakePlatform;
19
+ late Connectivity connectivity;
20
+ late MockConnectivityPlatform fakePlatform;
23
21
setUp (() async {
24
22
fakePlatform = MockConnectivityPlatform ();
25
23
ConnectivityPlatform .instance = fakePlatform;
You can’t perform that action at this time.
0 commit comments