saveInStorage method Null safety

Future<void> saveInStorage(
  1. String key
)

Saves in storage

Implementation

Future<void> saveInStorage(String key) async {
  final String objectJson = json.encode(toJson(full: true));
  await ParseCoreData().getStore().setString(key, objectJson);
}