save method

Future<void> save()

Implementation

Future<void> save() async {
  await persistence?.write(jsonEncode(_toPersistedJson()));
}