ParseObject constructor

ParseObject(
  1. String className,
  2. {bool? debug,
  3. ParseClient? client,
  4. bool? autoSendSessionId}
)

Creates a new Parse Object

String className refers to the Table Name in your Parse Server, bool debug will overwrite the current default debug settings and ParseHttpClient can be overwritten to create your own HTTP Client

Implementation

ParseObject(String className,
    {bool? debug, ParseClient? client, bool? autoSendSessionId})
    : super() {
  parseClassName = className;
  _path = '$keyEndPointClasses$className';
  _aggregatepath = '$keyEndPointAggregate$className';

  _debug = isDebugEnabled(objectLevelDebug: debug);
  _client = client ??
      ParseCoreData().clientCreator(
          sendSessionId:
              autoSendSessionId ?? ParseCoreData().autoSendSessionId,
          securityContext: ParseCoreData().securityContext);
}