flutter_parse_sdk library

Classes

CoreStore
CoreStoreSembastImp
CoreStoreSharedPrefsImp
LiveQuery
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
ParseCloneable
Creates method which can be used to deep clone objects
ParseCloudFunction
ParseConfig
ParseCoreData
Singleton class that defines all user keys and data
ParseError
ParseException is used in ParseResult to inform the user of the exception
ParseFile
ParseGeoPoint
ParseHTTPClient
Creates a custom version of HTTP Client that has Parse Data Preset
ParseInstallation
ParseObject
ParseRelation<T extends ParseObject>
ParseResponse
ParseSession
ParseUser
QueryBuilder<T extends ParseObject>
Class to create complex queries

Constants

keyAppIdentifier → const String
'appIdentifier'
keyAppName → const String
'appName'
keyAppVersion → const String
'appVersion'
keyClassInstallation → const String
'_Installation'
keyClassMain → const String
'ParseMain'
keyClassSession → const String
'_Session'
keyClassUser → const String
'_User'
keyCode → const String
'code'
keyDeviceToken → const String
'deviceToken'
keyDeviceType → const String
'deviceType'
keyEndPointClasses → const String
'/classes/'
keyEndPointHealth → const String
'/health'
keyEndPointInstallations → const String
'/installations'
keyEndPointLogin → const String
'/login'
keyEndPointLogout → const String
'/logout'
keyEndPointRequestPasswordReset → const String
'/requestPasswordReset'
keyEndPointSessions → const String
'/sessions'
keyEndPointUserName → const String
'/users/me'
keyEndPointUsers → const String
'/users'
keyEndPointVerificationEmail → const String
'/verificationEmailRequest'
keyError → const String
'error'
keyFile → const String
'File'
keyGeoPoint → const String
'GeoPoint'
keyHeaderApplicationId → const String
'X-Parse-Application-Id'
keyHeaderClientKey → const String
'X-Parse-Client-Key'
keyHeaderContentType → const String
'Content-Type'
keyHeaderContentTypeJson → const String
'application/json'
keyHeaderMasterKey → const String
'X-Parse-Master-Key'
keyHeaderRevocableSession → const String
'X-Parse-Revocable-Session'
keyHeaderSessionToken → const String
'X-Parse-Session-Token'
keyHeaderUserAgent → const String
'user-agent'
keyInstallationId → const String
'installationId'
keyLatitude → const String
'latitude'
keyLibraryName → const String
'Flutter Parse SDK'
keyLocaleIdentifier → const String
'localeIdentifier'
keyLongitude → const String
'longitude'
keyParamSessionToken → const String
'sessionToken'
keyParseStoreBase → const String
'flutter_parse_sdk_'
keyParseStoreInstallation → const String
'${keyParseStoreBase}installation'
keyParseStoreUser → const String
'${keyParseStoreBase}user'
keyParseVersion → const String
'parseVersion'
keyRelation → const String
'Relation'
keySdkVersion → const String
'1.0.22'
keyTimeZone → const String
'timeZone'
keyVarAcl → const String
'ACL'
keyVarClassName → const String
'className'
keyVarCreatedAt → const String
'createdAt'
keyVarCreatedWith → const String
'createdWith'
keyVarEmail → const String
'email'
keyVarExpiresAt → const String
'expiresAt'
keyVarInstallationId → const String
'installationId'
keyVarName → const String
'name'
keyVarObjectId → const String
'objectId'
keyVarPassword → const String
'password'
keyVarRestricted → const String
'restricted'
keyVarSessionToken → const String
'sessionToken'
keyVarUpdatedAt → const String
'updatedAt'
keyVarURL → const String
'url'
keyVarUser → const String
'user'
keyVarUsername → const String
'username'

Functions

batchRequest(List requests, List<ParseObject> objects, { ParseHTTPClient client, bool debug }) → Future<ParseResponse>
buildErrorResponse(ParseResponse response, Response 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
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>
getContentType(String extension) → String
Get the content type based on
getCustomUri(ParseHTTPClient client, String path, { Map<String, dynamic> queryParams, String query }) → Uri
Sanitises a url
getExtension(String contentType) → String
Get the extension type of the file
getSanitisedUri(ParseHTTPClient client, String pathToAppend, { Map<String, dynamic> queryParams, String query }) → Uri
Sanitises a url
getXXTeaSembastCodec({String password }) SembastCodec
Create a codec to use when opening an encrypted sembast database [...]
handleException(Exception exception, ParseApiRQ type, bool debug, String className) ParseResponse
Handles an API response and logs data if bool debug is enabled
@protected
handleResponse<T>(dynamic object, Response response, ParseApiRQ type, bool debug, String className) ParseResponse
Handles an API response and logs data if bool debug is enabled
@protected
isDebugEnabled({bool objectLevelDebug }) → bool
Checks whether debug is enabled [...]
isSuccessButNoResults(Response apiResponse) → bool
isUnsuccessfulResponse(Response apiResponse) → bool
logAPIResponse(String className, String type, ParseResponse parseResponse) → void
logCUrl(BaseRequest request) → 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 }) → dynamic
Custom json encoder for types related to parse
removeTrailingSlash(String serverUrl) → String
Removes unncessary /
shouldReturnAsABaseResult(ParseApiRQ type) → bool

Enums

LiveQueryEvent
ParseApiRQ
Used to define the API calls made in ParseObject logs