parse_server_sdk library
Classes
- CoreStore
- CoreStoreMemoryImp
- CoreStoreSembastImp
- LiveQuery
- LiveQueryClient
- LiveQueryReconnectingController
- Parse
- ParseACL
- ParseACL is used to control which users can access or modify a particular object ParseObject can have its own ParseACL You can grant read and write permissions separately to specific users or you can grant permissions to "the public" so that, for example, any user could read a particular object but only a particular set of users could write to that object
- ParseBase
- ParseClient
- ParseCloneable
- Creates method which can be used to deep clone objects
- ParseCloudFunction
- ParseConfig
- ParseConnectivityProvider
- ParseCoreData
- Singleton class that defines all user keys and data
- ParseDioClient
- ParseError
-
ParseException is used in
ParseResult
to inform the user of the exception - ParseFile
- ParseFileBase
- ParseGeoPoint
- ParseHTTPClient
- ParseInstallation
-
ParseLiveElement<
T extends ParseObject> -
ParseLiveList<
T extends ParseObject> -
ParseLiveListAddEvent<
T extends ParseObject> -
ParseLiveListDeleteEvent<
T extends ParseObject> -
ParseLiveListElement<
T extends ParseObject> -
ParseLiveListElementSnapshot<
T extends ParseObject> -
ParseLiveListEvent<
T extends ParseObject> -
ParseLiveListUpdateEvent<
T extends ParseObject> - ParseNetworkByteResponse
- ParseNetworkOptions
- ParseNetworkResponse
- ParseObject
- ParseObject is a local representation of data that can be saved and retrieved from the Parse cloud.
-
ParseRelation<
T extends ParseObject> - ParseResponse
- ParseSession
- ParseSubClassHandler
- ParseUser
- ParseWebFile
- ParseXFile
- PathKey
-
QueryBuilder<
T extends ParseObject> - Class to create complex queries
-
Subscription<
T extends ParseObject>
Enums
- LiveQueryClientEvent
- LiveQueryEvent
- ParseApiRQ
- Used to define the API calls made in ParseObject logs
- ParseConnectivityResult
- Connection status check result.
- ParseNetworkResponseType
Constants
- keyAppIdentifier → const String
- keyAppName → const String
- keyAppVersion → const String
- keyClassInstallation → const String
- keyClassMain → const String
- keyClassSession → const String
- keyClassUser → const String
- keyCode → const String
- keyDeviceToken → const String
- keyDeviceType → const String
- keyEndPointAggregate → const String
- keyEndPointClasses → const String
- keyEndPointHealth → const String
- keyEndPointInstallations → const String
- keyEndPointLogin → const String
- keyEndPointLogout → const String
- keyEndPointRequestPasswordReset → const String
- keyEndPointSessions → const String
- keyEndPointUserName → const String
- keyEndPointUsers → const String
- keyEndPointVerificationEmail → const String
- keyError → const String
- keyFile → const String
- keyFileClassname → const String
- keyGeoPoint → const String
- keyHeaderApplicationId → const String
- keyHeaderClientKey → const String
- keyHeaderCloudContext → const String
- keyHeaderContentType → const String
- keyHeaderContentTypeJson → const String
- keyHeaderInstallationId → const String
- keyHeaderMasterKey → const String
- keyHeaderRevocableSession → const String
- keyHeaderSessionToken → const String
- keyHeaderUserAgent → const String
- keyInstallationId → const String
- keyLatitude → const String
- keyLibraryName → const String
- keyLocaleIdentifier → const String
- keyLongitude → const String
- keyNetworkError → const String
- keyParamSessionToken → const String
- keyParseStoreBase → const String
- keyParseStoreDeletes → const String
- keyParseStoreInstallation → const String
- keyParseStoreObjects → const String
- keyParseStoreUser → const String
- keyParseVersion → const String
- keyRelation → const String
- keySdkVersion → const String
- keyTimeZone → const String
- keyVarAcl → const String
- keyVarAuthData → const String
- keyVarClassName → const String
- keyVarCreatedAt → const String
- keyVarCreatedWith → const String
- keyVarEmail → const String
- keyVarExpiresAt → const String
- keyVarInstallationId → const String
- keyVarName → const String
- keyVarObjectId → const String
- keyVarPassword → const String
- keyVarRestricted → const String
- keyVarSessionToken → const String
- keyVarUpdatedAt → const String
- keyVarURL → const String
- keyVarUser → const String
- keyVarUsername → const String
- parseIsWeb → const bool
Functions
-
apple(
String token, String id) → Map< String, dynamic> -
batchRequest(
List requests, List< ParseObject> objects, {ParseClient? client, bool? debug}) → Future<ParseResponse> -
buildErrorResponse(
ParseResponse response, ParseNetworkResponse apiResponse) → ParseResponse - Handles any errors returned in response
-
buildParseResponseWithException(
Exception exception) → ParseResponse - Handles exception instead of throwing an exception
-
buildSuccessResponseWithNoResults(
ParseResponse response, int code, String value) → ParseResponse - Handles successful responses with no results
-
checkForSubmitEventually(
) → Future< void> -
checkObjectsExistForEventually(
) → Future< bool> -
concatenateArray(
List< String> list) → String - Convert list of strings to a string with commas
-
convertValueToCorrectType(
dynamic value) → dynamic - Converts the object to the correct value for JSON,
-
dateTimeEncoder(
dynamic item) → dynamic - Custom encoder for DateTime
-
encodeObject(
String className, String objectId) → Map< String, String> -
facebook(
String token, String id, DateTime expires) → Map< String, dynamic> -
getCustomUri(
ParseClient client, String path, {Map< String, dynamic> ? queryParams, String? query}) → Uri - Sanitises a url
-
getSanitisedUri(
ParseClient client, String pathToAppend, {Map< String, dynamic> ? queryParams, String? query}) → Uri - Sanitises a url
-
getXXTeaSembastCodec(
{required String password}) → SembastCodec - Create a codec to use when opening an encrypted sembast database
-
google(
String token, String id, String idToken) → Map< String, dynamic> -
handleException(
Exception exception, ParseApiRQ type, bool debug, String className) → ParseResponse - Handles an API response and logs data if bool debug is enabled
-
handleResponse<
T> (dynamic object, ParseNetworkResponse response, ParseApiRQ type, bool debug, String className) → ParseResponse - Handles an API response and logs data if bool debug is enabled
-
isDebugEnabled(
{bool? objectLevelDebug}) → bool - Checks whether debug is enabled
-
isSuccessButNoResults(
ParseNetworkResponse apiResponse) → bool -
isUnsuccessfulResponse(
ParseNetworkResponse apiResponse) → bool -
logAPIResponse(
String className, String type, ParseResponse parseResponse) → void -
logRequest(
String? appName, String className, String type, String uri, String body) → void -
parseDecode(
dynamic value) → dynamic - Decode any type value
-
parseEncode(
dynamic value, {bool full = false}) → dynamic - Custom json encoder for types related to parse
-
removeDuplicateParseObjectByObjectId(
Iterable iterable) → List -
removeTrailingSlash(
String serverUrl) → String - Removes unncessary /
-
shouldReturnAsABaseResult(
ParseApiRQ type) → bool
Typedefs
- ParseClientCreator = ParseClient Function({SecurityContext? securityContext, required bool sendSessionId})
- ParseFileConstructor = ParseFileBase Function({String? name, String? url})
- ParseObjectConstructor = ParseObject Function()
- ParseUserConstructor = ParseUser Function(String? username, String? password, String? emailAddress, {ParseClient? client, bool? debug, String? sessionToken})
- ProgressCallback = void Function(int count, int total)
- Callback to listen the progress for sending/receiving data.