flutter_parse_sdk_flutter library

Classes

CoreStore
CoreStoreMemoryImp
CoreStoreSembastImp
CoreStoreSharedPrefsImp
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>
ParseLiveGridWidget<T extends ParseObject>
ParseLiveList<T extends ParseObject>
ParseLiveListAddEvent<T extends ParseObject>
ParseLiveListDeleteEvent<T extends ParseObject>
ParseLiveListElement<T extends ParseObject>
ParseLiveListElementSnapshot<T extends ParseObject>
ParseLiveListElementWidget<T extends ParseObject>
ParseLiveListEvent<T extends ParseObject>
ParseLiveListUpdateEvent<T extends ParseObject>
ParseLiveListWidget<T extends ParseObject>
ParseNetworkByteResponse
ParseNetworkOptions
ParseNetworkResponse
ParseNotification
ParseObject
ParseObject is a local representation of data that can be saved and retrieved from the Parse cloud.
ParsePush
ParseRelation<T extends ParseObject>
ParseResponse
ParseSession
ParseSubClassHandler
ParseUser
ParseWebFile
PathKey
QueryBuilder<T extends ParseObject>
Class to create complex queries
Subscription<T extends ParseObject>

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'
keyEndPointAggregate → const String
'/aggregate/'
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'
keyFileClassname → const String
'ParseFile'
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'
keyHeaderInstallationId → const String
'X-Parse-Installation-Id'
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
'5.1.1'
keyTimeZone → const String
'timeZone'
keyVarAcl → const String
'ACL'
keyVarAuthData → const String
'authData'
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'
parseIsWeb → const bool
identical(0, 0.0)

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
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
dbDirectory() Future<String>
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

Enums

LiveQueryClientEvent
LiveQueryEvent
ParseApiRQ
Used to define the API calls made in ParseObject logs
ParseConnectivityResult
Connection status check result.
ParseNetworkResponseType

Typedefs

ChildBuilder<T extends ParseObject> = Widget Function(BuildContext context, ParseLiveListElementSnapshot<T> snapshot)
DataGetter<T extends ParseObject> = T? Function()
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.
StreamGetter<T extends ParseObject> = Stream<T> Function()

Exceptions / Errors

ParseException
ParseOperationException
ParseRelationException