ParseObject constructor

ParseObject(String className, { String objectId, dynamic json })

Creates a new ParseObject based upon a class name. If the class name is a special type (e.g. for ParseUser), then the appropriate type of ParseObject is returned.

Implementation

ParseObject(this.className, {String objectId, dynamic json})
    : this._objectId = objectId {
  this._data = {};
  this._isComplete = false;
  this._isDeletingEventually = 0;
  this._selectedKeys = [];
  this._operations = [];
  if (json != null) {
    _mergeJson(json);
  }
}