throwResult method Null safety
- {dynamic result}
Sends the result
back to the SlidingPanel.onThrowResult.
The result can be anything except null.
Useful when you don't want to use sendResult with a NotificationListener.
Implementation
void throwResult({dynamic result}) {
if (result != null && controlling && panel!.widget.onThrowResult != null) {
panel!.widget.onThrowResult!(result);
}
}