ParseCloudFunction class
- Inheritance
-
- Object
- ParseBase
- ParseObject
- ParseCloudFunction
Constructors
- ParseCloudFunction(String functionName, {bool? debug, ParseClient? client, bool? autoSendSessionId})
- Creates a new cloud function object
Properties
- createdAt → DateTime?
-
Returns DateTime createdAt
no setterinherited
- functionName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectId ↔ String?
-
Returns String objectId
getter/setter pairinherited
- parseClassName ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime?
-
Returns DateTime updatedAt
no setterinherited
Methods
-
addRelation(
String key, List values) → void -
inherited
-
clearUnsavedChanges(
) → void -
inherited
-
clone(
Map< String, dynamic> map) → dynamic -
inherited
-
containsKey(
String key) → bool -
inherited
-
containsValue(
Object value) → bool -
inherited
-
copy(
) → dynamic -
Creates a copy of this class
inherited
-
create(
{bool allowCustomObjectId = false}) → Future< ParseResponse> -
Creates a new object and saves it online
inherited
-
delete<
T extends ParseObject> ({String? id, String? path}) → Future< ParseResponse> -
Deletes the current object locally and online
inherited
-
distinct<
T extends ParseObject> (String query) → Future< ParseResponse> -
inherited
-
execute(
{Map< String, dynamic> ? parameters, Map<String, String> ? headers}) → Future<ParseResponse> - Executes a cloud function
-
executeObjectFunction<
T extends ParseObject> ({Map< String, dynamic> ? parameters, Map<String, String> ? headers}) → Future<ParseResponse> - Executes a cloud function that returns a ParseObject type
-
fetch(
{List< String> ? include}) → Future<ParseObject> -
Fetches this object with the data from the server. Call this whenever you want the state of the
object to reflect exactly what is on the server.
inherited
-
fromJson(
Map< String, dynamic> objectData) → dynamic -
inherited
-
fromJsonForManualObject(
Map< String, dynamic> objectData) → dynamic -
inherited
-
fromPin(
String objectId) → dynamic -
Saves item to simple key pair value storage
inherited
-
get<
T> (String key, {T? defaultValue}) → T? -
Gets type
T
from objectDatainherited -
getACL(
) → ParseACL -
Access the ParseACL governing this object.
inherited
-
getAll(
) → Future< ParseResponse> -
Gets all objects from this table - Limited response at the moment
inherited
-
getObject(
String objectId, {List< String> ? include}) → Future<ParseResponse> -
Gets an object from the server using it's String objectId
inherited
-
getRelation<
T extends ParseObject> (String key) → ParseRelation< T> -
Get the instance of ParseRelation class associated with the given key.
inherited
-
isDirty(
{String? key}) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pin(
) → Future< bool> -
Saves item to simple key pair value storage
inherited
-
query<
T extends ParseObject> (String query, {ProgressCallback? progressCallback}) → Future< ParseResponse> -
Can be used to create custom queries
inherited
-
removeRelation(
String key, List values) → void -
inherited
-
save(
) → Future< ParseResponse> -
Saves the current object online
inherited
-
saveInStorage(
String key) → Future< void> -
Saves in storage
inherited
-
set<
T> (String key, T value, {bool forceUpdate = true}) → void -
Sets type
T
from objectDatainherited -
setACL<
ParseACL> (ParseACL acl) → void -
Set the
ParseACL
governing this object.inherited -
setAdd(
String key, dynamic value) → void -
Add a single element to an array of an object
inherited
-
setAddAll(
String key, List values) → void -
Add a multiple elements to an array of an object
inherited
-
setAddAllUnique(
String key, List values) → void -
Add a multiple elements to an array of an object
inherited
-
setAddUnique(
String key, dynamic value) → void -
inherited
-
setDecrement(
String key, num amount) → void -
Decreases a num of an object by x amount
inherited
-
setIncrement(
String key, num amount) → void -
Increases a num of an object by x amount
inherited
-
setRemove(
String key, dynamic value) → void -
Removes an element from an Array
inherited
-
setRemoveAll(
String key, List values) → void -
Remove multiple elements from an array of an object
inherited
-
toJson(
{bool full = false, bool forApiRQ = false, bool allowCustomObjectId = false}) → Map< String, dynamic> -
Converts object to String in JSON format
inherited
-
toPointer(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unpin(
{String? key}) → Future< bool> -
Saves item to simple key pair value storage
inherited
-
unset(
String key, {bool offlineOnly = false}) → Future< ParseResponse> -
Can be used set an objects variable to undefined rather than null
inherited
-
update(
) → Future< ParseResponse> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → dynamic -
inherited
-
operator []=(
String key, dynamic value) → void -
inherited