group method Null safety

String? group(
  1. int group
)

The string matched by the given group.

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

The result may be null if the pattern didn't assign a value to it as part of this match.

Implementation

String? group(int group);