Dart
dart:html
File class
description
File class
Inheritance
Object
Blob
File
Annotations
@Native("File")
Constructors
File
(
List
<
Object
>
fileBits
,
String
fileName
, [
Map
options
])
factory
Properties
lastModified
→
int
final
lastModifiedDate
→
DateTime
read-only
name
→
String
final
relativePath
→
String
@JSName('webkitRelativePath'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), final
hashCode
→
int
The hash code for this object.
[...]
read-only, inherited
runtimeType
→
Type
A representation of the runtime type of the object.
read-only, inherited
size
→
int
final, inherited
type
→
String
final, inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a non-existent method or property is accessed.
[...]
inherited
slice
(
[
int
start
,
int
end
,
String
contentType
])
→
Blob
inherited
toString
(
)
→
String
Returns a string representation of this object.
inherited
Operators
operator ==
(
dynamic
other
)
→
bool
The equality operator.
[...]
inherited