W3cubDocs

/Dart 2

File.fromRawPath constructor

File.fromRawPath(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);
}

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