File.fromRawPath constructor Null safety

File.fromRawPath(
  1. Uint8List rawPath
)

Creates a File object from a raw path.

A raw path is a sequence of bytes, as paths are represented by the OS.

Implementation

@pragma("vm:entry-point")
factory File.fromRawPath(Uint8List rawPath) {
  // TODO(bkonyi): Handle overrides.
  return new _File.fromRawPath(rawPath);
}