fileFromPath function

File? fileFromPath(
  1. String? path
)

Implementation

File? fileFromPath(String? path) {
  if (path == null) return null;
  return File.fromUri(Uri.parse(path));
}