unpin method

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

Saves item to simple key pair value storage

Replicates Android SDK pin process and saves object to storage

Implementation

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

  return false;
}