assert isntanceHost in SelectInstanceButton not null

This commit is contained in:
krawieck 2021-01-10 14:47:53 +01:00
parent f80ab01e04
commit cdb9048b9b
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ class SelectInstanceButton extends HookWidget {
final ValueChanged<String> onChange;
final String instanceHost;
const SelectInstanceButton(
{@required this.onChange, @required this.instanceHost});
{@required this.onChange, @required this.instanceHost})
: assert(instanceHost != null);
@override
Widget build(BuildContext context) {