JsonFilePersister<T> constructor

JsonFilePersister<T>([
  1. 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;
}