Add missing type annotation

This commit is contained in:
krawieck 2020-09-12 17:03:00 +02:00
parent 3c22966ea3
commit 383d194f51
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class UserPage extends HookWidget {
.getUserDetails(
userId: userId, savedOnly: true, sort: SortType.active)
.then((res) => res.user);
UserPage.fromName({@required this.instanceUrl, @required username})
UserPage.fromName({@required this.instanceUrl, @required String username})
: assert(instanceUrl != null),
assert(username != null),
userId = null,