operator [] method

  1. @override
String? operator [](
  1. int group
)
override

The string matched by the given group.

If group is 0, returns the match of the pattern.

Short alias for Match.group.

Implementation

@override
String? operator [](int group) => $value[group];