Skip to content

Commit da38a9a

Browse files
binding test [nfc]: Reorder androidNotificationHost getter
1 parent b894473 commit da38a9a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/model/binding.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,10 @@ class TestZulipBinding extends ZulipBinding {
313313
_androidNotificationHostApi = null;
314314
}
315315

316-
FakeAndroidNotificationHostApi? _androidNotificationHostApi;
317-
318316
@override
319-
FakeAndroidNotificationHostApi get androidNotificationHost {
320-
return (_androidNotificationHostApi ??= FakeAndroidNotificationHostApi());
321-
}
317+
FakeAndroidNotificationHostApi get androidNotificationHost =>
318+
(_androidNotificationHostApi ??= FakeAndroidNotificationHostApi());
319+
FakeAndroidNotificationHostApi? _androidNotificationHostApi;
322320

323321
/// The value that `ZulipBinding.instance.pickFiles()` should return.
324322
///

0 commit comments

Comments
 (0)