assert isntanceHost in SelectInstanceButton not null
This commit is contained in:
parent
f80ab01e04
commit
cdb9048b9b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue