getScreenFromPath function

Screen? getScreenFromPath(
  1. String path
)

Implementation

Screen? getScreenFromPath(String path) {
  final match = allScreens.match(path);
  if (match.isNotEmpty) {
    return match.last.node.data;
  }

  return null;
}