PublicSavedFile class

Represents the result of a file save operation.

Contains the saved file's name, URI, and/or path depending on the platform and save mode used.

Constructors

PublicSavedFile({required String fileName, String? uri, String? path})
const
PublicSavedFile.fromMap(Map map)
Creates a PublicSavedFile from a platform result map.
factory

Properties

fileName String
The name of the saved file.
final
hashCode int
The hash code for this object.
no setteroverride
isSuccess bool
Returns true if the save operation was successful.
no setter
path String?
The file system path of the saved file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The URI of the saved file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts this object to a map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override