Skip to content

Commit 0970c71

Browse files
committed
Ran flutter format
1 parent 95ad990 commit 0970c71

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

lib/src/google_api_availability.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class GoogleApiAvailability {
1717
/// Acquires an instance of the [GoogleApiAvailability] class.
1818
static const GoogleApiAvailability instance = GoogleApiAvailability._();
1919

20-
static const MethodChannel _methodChannel = MethodChannel(
21-
'flutter.baseflow.com/google_api_availability/methods');
20+
static const MethodChannel _methodChannel =
21+
MethodChannel('flutter.baseflow.com/google_api_availability/methods');
2222

2323
/// This feature is only available on Android devices. On any other platforms
2424
/// the [checkPlayServicesAvailability] method will always return

test/google_api_availability_test.dart

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ void main() {
1010
test('Should receive notAvailableOnPlatform is not Android', () async {
1111
debugDefaultTargetPlatformOverride = TargetPlatform.iOS;
1212

13-
final googlePlayServiceAvailability = await const GoogleApiAvailability.private()
14-
.checkGooglePlayServicesAvailability();
13+
final googlePlayServiceAvailability =
14+
await const GoogleApiAvailability.private()
15+
.checkGooglePlayServicesAvailability();
1516

1617
expect(googlePlayServiceAvailability,
1718
GooglePlayServicesAvailability.notAvailableOnPlatform);
@@ -29,8 +30,9 @@ void main() {
2930
result: availability.value,
3031
);
3132

32-
final googlePlayServiceAvailability = await const GoogleApiAvailability.private()
33-
.checkGooglePlayServicesAvailability();
33+
final googlePlayServiceAvailability =
34+
await const GoogleApiAvailability.private()
35+
.checkGooglePlayServicesAvailability();
3436

3537
expect(googlePlayServiceAvailability, availability);
3638
});
@@ -46,8 +48,9 @@ void main() {
4648
result: availability,
4749
);
4850

49-
final googlePlayServiceAvailability = await const GoogleApiAvailability.private()
50-
.checkGooglePlayServicesAvailability();
51+
final googlePlayServiceAvailability =
52+
await const GoogleApiAvailability.private()
53+
.checkGooglePlayServicesAvailability();
5154

5255
expect(
5356
googlePlayServiceAvailability, GooglePlayServicesAvailability.unknown);

test/google_play_services_availability_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ void main() {
2020
});
2121

2222
test('check if toString method returns the corresponding name', () {
23-
var playServicesAvailability = const GooglePlayServicesAvailability.private(0);
23+
var playServicesAvailability =
24+
const GooglePlayServicesAvailability.private(0);
2425

2526
expect(playServicesAvailability.toString(),
2627
'GooglePlayServicesAvailability.success');

test/method_channel_mock.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class MethodChannelMock {
1313
this.result,
1414
this.delay = Duration.zero,
1515
}) : methodChannel = MethodChannel(channelName) {
16-
TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger.setMockMethodCallHandler(methodChannel, _handler);
16+
TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger
17+
.setMockMethodCallHandler(methodChannel, _handler);
1718
}
1819

1920
Future _handler(MethodCall methodCall) async {

0 commit comments

Comments
 (0)