SaveInfo class

Save info while calling saveFile method. It contains saved file name, uri and the saved status, whether the file is created, replaced or duplicated

Constructors

SaveInfo.new({required String name, required Uri uri, required SaveStatus saveStatus})
const
SaveInfo.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDuplicated bool
'true' if it is duplicated file
no setter
isSuccessful bool
If false, that's mean file can't be created or replaced with the actual name. A duplicated file is created Check name for the file name
no setter
name String
Name of the file after saving. It can be a duplicated file name
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saveStatus SaveStatus
Save status
final
uri Uri
Uri of the file
final

Methods

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

Operators

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