the method 'validate' can't be unconditionally invoked because the receiver can be 'null'. try making the call conditional (using '?.') or adding a null check to the target ('!')

1

The method 'validate' can't be unconditionally invoked because the receiver can be 'null'. Try making the call conditional (using '?.') or adding a null check to the target ('!').

By Beginner Wendy Durgan at Jul 21 2021


Related code examples


Code examples by languages