flutter_parse_sdk library

Classes

LiveQuery
Still under development
Parse
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
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'
keyLibraryName → const String
'Flutter Parse SDK'
keyLocaleIdentifier → const String
'localeIdentifier'
keyParamSessionToken → const String
'sessionToken'
keyParseStoreBase → const String
'flutter_parse_sdk_'
keyParseStoreInstallation → const String
'${keyParseStoreBase}installation'
keyParseStoreUser → const String
'${keyParseStoreBase}user'
keyParseVersion → const String
'parseVersion'
keySdkVersion → const String
'1.0.16'
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'
keyVarObjectId → const String
'objectId'
keyVarPassword → const String
'password'
keyVarRestricted → const String
'restricted'
keyVarSessionToken → const String
'sessionToken'
keyVarUpdatedAt → const String
'updatedAt'
keyVarUser → const String
'user'
keyVarUsername → const String
'username'

Functions

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
getContentType(String extension) → String
Get the content type based on
getDefaultHttpClient(ParseHTTPClient providedClient, bool sendSessionId) ParseHTTPClient
Checks whether debug is enabled [...]
getExtension(String contentType) → String
Get the extension type of the file
getSanitisedUri(ParseHTTPClient client, String pathToAppend) → Uri
Sanitises a url
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>(ParseCloneable 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 providedDebugStatus }) → bool
Checks whether debug is enabled [...]
isSuccessButNoResults(Response apiResponse) → bool
isUnsuccessfulResponse(Response apiResponse) → bool
logger(String appName, 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 }) → dynamic
Custom json encoder for types related to parse
shouldReturnAsABaseResult(ParseApiRQ type) → bool

Enums

ParseApiRQ
Used to define the API calls made in ParseObject logs