getFile static method

File? getFile(
  1. String? filepath
)

Implementation

static File? getFile(String? filepath) {
  if (filepath == null) return null;
  try {
    if (_fileExists(filepath)) return File(filepath);
  } catch (e) {
    Log().exception(e, caller: 'platform.vm.dart => bool file($filepath)');
  }
  return null;
}