createReader method Null safety

DirectoryReader createReader()

Implementation

DirectoryReader createReader() {
  DirectoryReader reader = _createReader();
  applyExtension('DirectoryReader', reader);
  return reader;
}