retrieveNearestContent method

String? retrieveNearestContent(
  1. String fileName
)

Implementation

String? retrieveNearestContent(String fileName) {
  final scriptsPath = nearest(fileName);

  if (scriptsPath == null) {
    return null;
  }

  return retrieveContent(scriptsPath);
}