fromMatch method

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

Implementation

@override
TListValue fromMatch(Match match) {
  var indexesStr = match.group(1)!;
  var indexes = indexesStr
      .split(_LIST_DELIMITER_PATTERN)
      .map((e) => parseInt(e)!)
      .toList();
  return TListValue(indexes);
}