File factory constructor

File(List<Object> fileBits, String fileName, [ Map options ])

Source

@DomName('File.File')
@DocsEditable()
factory File(List<Object> fileBits, String fileName, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return _blink.BlinkFile.instance
        .constructorCallback_3_(fileBits, fileName, options_1);
  }
  return _blink.BlinkFile.instance.constructorCallback_2_(fileBits, fileName);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/File/File.html