flutterflow_cloud_core library

Pure Dart values and typed API errors of the app SDK.

Classes

FFXAggregateResult
One aggregate query result row: alias → numeric value.
FFXFieldValue
Atomic numeric field transforms for update patches and batch updates.
FFXFile
A file record (14 §7).
FFXGeoPoint
A latitude/longitude pair — the wire shape of config geopoint fields.
FFXQueryMetadata
Honest per-response metadata. There is no fictional offline machinery here: isFromCache is true only when the page was actually served from the SDK's query cache, and receivedAt is when the page was originally fetched from the network (so a cached page reports its original fetch time, not "now").
FFXQueryPage<T>
FFXRecord
The untyped record core (14 §3.1): raw wire JSON + typed system accessors.
FFXUser
An end user (14 §6): the signed-in person from auth, or an endUser record row from a named query, record read or watch.

Functions

clientValidationError(String detail, String fix) → FFXValidationError
Client-side pre-flight failures share the server's error vocabulary.
errorFromProblem(Map<String, Object?> problem, int status, int? retryAfterMs) → FFXApiError
Maps a problem+json document to its typed error (14 §10).

Exceptions / Errors

FFXApiError
FFXAuthenticationError
FFXCancelledError
Thrown by FFXUploadTask when the caller cancels an in-flight upload.
FFXConfigVersionRetiredError
FFXConflictError
FFXFunctionError
A function's public application/runtime outcome, retained in the normal platform problem envelope. The SDK never calls the function again on its own: another call is a new invocation, and the app decides whether to make it.
FFXInsufficientCreditsError
A write whose rule spends credits (spend("…", n), 05 §3.4) needs more than the end user has: nothing was written or spent. Offer a pack, then send the same request again.
FFXInternalError
FFXNetworkError
FFXNotFoundError
FFXPermissionDeniedError
FFXQuotaExceededError
FFXRateLimitedError
FFXRequestTooLargeError
FFXServiceUnavailableError
FFXTimeoutError
FFXUnknownError
FFXValidationError
FFXVersionConflictError