getRoutes method
Implementation
Future<Directory?> getRoutes() async {
final root = await getRoot();
if (root == null) {
throw Exception('Failed to find project root');
}
return root.childDirectory('routes');
}
Future<Directory?> getRoutes() async {
final root = await getRoot();
if (root == null) {
throw Exception('Failed to find project root');
}
return root.childDirectory('routes');
}