methods method

  1. @override
Map<String, Function> methods()
override

Implementation

@override
Map<String, Function> methods() {
  return {
    'test': (String input) => regExp.hasMatch(input),
    //'exec': (String input) => regExp.allMatches(input).toList()
  };
}