JsonPersistence class

Implemented types

Constructors

JsonPersistence({required String key, required Map<String, dynamic> data, int version = 0})

Properties

data Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
key String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
final

Methods

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

Operators

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