File class

Web-safe stand-in for dart:io's File, which does not exist on this platform. KImage.fromFile is not supported on the web, so any attempt to read from an instance of this class throws.

Constructors

File(String path)

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAsBytes() → Future<Uint8List>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited