Dart RegExp noSuchMethod()
Syntax & Examples

Syntax of RegExp.noSuchMethod()

The syntax of RegExp.noSuchMethod() method is:

 dynamic noSuchMethod(Invocation invocation) 

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

Return Type

RegExp.noSuchMethod() returns value of type dynamic.