fileExists method

  1. @override
Future<bool> fileExists(
  1. String targetPath
)
override

Returns whether a file already exists at targetPath.

Implementation

@override
Future<bool> fileExists(String targetPath) async {
  final resolved = await _resolve(targetPath);
  return File(resolved).exists();
}