Skip to content

Commit 57a83eb

Browse files
binding test [nfc]: Reorder androidNotificationHost getter
1 parent 86be0e8 commit 57a83eb

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
@@ -281,12 +281,10 @@ class TestZulipBinding extends ZulipBinding {
281281
_androidNotificationHostApi = null;
282282
}
283283

284-
FakeAndroidNotificationHostApi? _androidNotificationHostApi;
285-
286284
@override
287-
FakeAndroidNotificationHostApi get androidNotificationHost {
288-
return (_androidNotificationHostApi ??= FakeAndroidNotificationHostApi());
289-
}
285+
FakeAndroidNotificationHostApi get androidNotificationHost =>
286+
(_androidNotificationHostApi ??= FakeAndroidNotificationHostApi());
287+
FakeAndroidNotificationHostApi? _androidNotificationHostApi;
290288

291289
/// The value that `ZulipBinding.instance.pickFiles()` should return.
292290
///

0 commit comments

Comments
 (0)