File.fromRawPath constructor

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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/File/File.fromRawPath.html