1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-25 07:41:32 +01:00

replace Error with UnimplementedError

This commit is contained in:
krawieck 2021-01-09 20:06:16 +01:00
parent bf5d8b4db6
commit 6e5e48d05f

View File

@ -96,7 +96,7 @@ class _SearchResultsList extends HookWidget {
case SearchType.users:
return s.users;
default:
throw Error();
throw UnimplementedError();
}
},
builder: (data) {
@ -116,7 +116,7 @@ class _SearchResultsList extends HookWidget {
case SearchType.users:
return UsersListItem(user: data as UserView);
default:
throw Error();
throw UnimplementedError();
}
},
);