ParseObject constructor
ParseObject(
- String className, {
- bool? debug,
- ParseClient? client,
- bool? autoSendSessionId,
Creates a new Parse Object
className, refers to the Table Name in your Parse Server
debug, will overwrite the current default debug settings
client, 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);
}