LocalFile class final
Local file manager for a document folder
- Inheritance
-
- Object
- IFileManager
- LocalFile
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUserRequestDataOnString(
String key) → Future< String?> -
Read all data from file
Return Future<Map<String, dynamic>>
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeUserRequestCache(
String key) → Future< bool> -
Remove user request data
Return Future<bool>
override
-
removeUserRequestSingleCache(
String key) → Future< bool> -
Remove user request data
Return Future<bool>
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeUserRequestDataWithTime(
String key, String model, Duration? time) → Future< bool> -
Write user request data with time
key
is unique identifier for the datamodel
is an instance of theLocalModel
class.time
is an instance of theDuration
class.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited