JsonFilePersister<T> constructor
JsonFilePersister<T> ([
- String? path
Creates a new instance of the persistence.
path
(optional) a path to the file where data is stored.
Implementation
JsonFilePersister([String? path]) {
path_ = path;
}