getFilePath method

String? getFilePath(
  1. String filename
)

Get file path by filename, return null if not exist.

Implementation

String? getFilePath(String filename) {
  final f = File(join(_root.path, filename));
  return f.existsSync() ? f.path : null;
}