ParseObject constructor
ParseObject(
- String className, {
- bool? debug,
- ParseClient? client,
- 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);
}