fileFor method Null safety

File fileFor(
  1. SpeechPackage package,
  2. String path
)

Returns File for the path within a package

Implementation

File fileFor(SpeechPackage package, String path) {
  String packageDir = directoryFor(package);
  return File('$packageDir/$path');
}