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

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.dartlang.org/stable/2.0.0/dart-io/File/File.fromRawPath.html