parseFlowFromName function

String parseFlowFromName(
  1. String testName
)

Implementation

String parseFlowFromName(String testName) {
  final match = RegExp(r'sweep: (\S+)').firstMatch(testName);
  return match?.group(1) ?? testName;
}