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