unpin method

Future<bool> unpin({
  1. String? key,
})

Remove item from value storage

Implementation

Future<bool> unpin({String? key}) async {
  if (objectId != null || key != null) {
    await ParseCoreData().getStore().remove(key ?? objectId!);
    return true;
  }

  return false;
}