getActionModule static method
Implementation
static String getActionModule(StackTrace stackTrace) {
final frames = stackTrace.toString().split("\n");
if (frames.length > 2) {
final frame = frames[1].trim();
final match = RegExp(r'#\d+\s+(\w+)\.(\w+)').firstMatch(frame);
if (match != null) {
return '${match.group(2)}';
}
}
return "TCICLog";
}