KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a way to test the existence of a function or method in Dart without trying to call it and catch a NoSuchMethodError error? I am looking for something like if (exists("func_name")){...} to test whether a function named func_name exists. Thanks in advance!
Tags (comma-separated)
Save Edits
Cancel