Dart Set noSuchMethod()
Syntax & Examples


Syntax of Set.noSuchMethod()

The syntax of Set.noSuchMethod() method is:

 dynamic noSuchMethod(Invocation invocation) 

This noSuchMethod() method of Set invoked when a non-existent method or property is accessed.

Return Type

Set.noSuchMethod() returns value of type dynamic.