Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 9a9d6d4

Browse files
🔥 Remove unused constructor parameter
1 parent a54232d commit 9a9d6d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/google_sign_in/google_sign_in/test/widgets_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ class _TestGoogleIdentity extends GoogleIdentity {
1616
_TestGoogleIdentity({
1717
required this.id,
1818
required this.email,
19-
this.displayName,
2019
this.photoUrl,
2120
});
2221

2322
final String id;
2423
final String email;
2524

26-
final String? displayName;
27-
2825
final String? photoUrl;
26+
27+
@override
28+
String? get displayName => null;
2929
}
3030

3131
/// A mocked [HttpClient] which always returns a [_MockHttpRequest].

0 commit comments

Comments
 (0)