File.fromRawPath constructor Null safety

File.fromRawPath(
  1. Uint8List rawPath
)

Creates a File object from a raw path, that is, a sequence of bytes as represented by the OS.

Implementation

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