The syntax of List.noSuchMethod() method is:
dynamic noSuchMethod(Invocation invocation)
This noSuchMethod() method of List invoked when a nonexistent method or property is accessed.
Parameter | Optional/Required | Description |
---|---|---|
invocation | required | the invocation object representing the method or property access |
List.noSuchMethod() returns value of type dynamic
.