BrainCloudScript class

Constructors

BrainCloudScript(BrainCloudClient _clientRef)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelScheduledScript({required String jobId}) Future<ServerResponse>
Cancels a scheduled cloud code script
getRunningOrQueuedCloudScripts() Future<ServerResponse>
get a scheduled cloud code script
getScheduledCloudScripts({required DateTime startDateUTC}) Future<ServerResponse>
get a scheduled cloud code script
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runParentScript({required String scriptName, Map<String, dynamic>? scriptData, required String parentLevel}) Future<ServerResponse>
Run a cloud script in a parent app
runPeerScript({required String scriptName, Map<String, dynamic>? scriptData, required String peer}) Future<ServerResponse>
Runs a script from the context of a peer
runPeerScriptAsync({required String scriptName, Map<String, dynamic>? scriptData, required String peer}) Future<ServerResponse>
Runs a script asynchronously from the context of a peer This operation does not wait for the script to complete before returning
runScript({required String scriptName, Map<String, dynamic>? scriptData}) Future<ServerResponse>
Executes a script on the server.
scheduleRunScriptMillisUTC({required String scriptName, Map<String, dynamic>? scriptData, required int startDateUTC}) Future<ServerResponse>
Allows cloud script executions to be scheduled
scheduleRunScriptMinutes({required String scriptName, Map<String, dynamic>? scriptData, required int minutesFromNow}) Future<ServerResponse>
Allows cloud script executions to be scheduled
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited