Dart Duration noSuchMethod()
Syntax & Examples


Syntax of Duration.noSuchMethod()

The syntax of Duration.noSuchMethod() method is:

 dynamic noSuchMethod(Invocation invocation) 

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

Return Type

Duration.noSuchMethod() returns value of type dynamic.