fromMatch method

  1. @override
TMapValue fromMatch(
  1. Match match
)
override

Implementation

@override
TMapValue fromMatch(Match match) {
  var keysStr = match.group(1)!;
  var keys = STRING_PATTERN
      .allMatches(keysStr)
      .map((m) => (m.group(1) ?? m.group(2) ?? m.group(3))!)
      .toList();
  return TMapValue(keys);
}