wire library

The raw client-plane wire models generated from packages/schema.

Import this library when you need the exact wire shapes (auth sessions, upload grants, batch envelopes); the curated app surface lives in package:flutterflow_cloud/flutterflow_cloud.dart.

Classes

AggregateQueryRequest
AggregateQueryResponse
Aggregate-query response envelope.
AppClaimResult
AuthClaimsUpdatedEvent
AuthSession
AuthSessionRevokedEvent
BatchCreateOperation
BatchCreateResult
BatchDeleteOperation
BatchDeleteResult
BatchOperation
BatchRequest
BatchResponse
BatchResult
BatchUpdateOperation
BatchUpdateResult
BeginUploadBody
CheckPurchaseBody
One purchase to check, as the store returned it to the app.
CheckPurchaseBodyAppStore
CheckPurchaseBodyGooglePlay
CheckPurchaseBodyPretend
A purchase on drip’s pretend store, in the preview. Only the preview’s own backend records it, as a test purchase; the platform refuses it.
CompleteGoogleSignInBody
CompletePasswordResetBody
ConnectorCallBody
CreateDownloadUrlBody
CustomClaimValue
CustomClaimValueBoolean
CustomClaimValueNumber
CustomClaimValueString
DeleteAccountResult
DownloadUrl
DynamicLinkCampaign
EndUser
FieldError
FileRecord
FileRecordPatchBody
GoogleSignInStarted
HealthResponse
Jwk
RFC 7517 JSON Web Key; additional members (alg, use, …) pass through verbatim.
JwksDocument
ListQueryRequest
PasswordResetCompleted
PasswordResetRequested
Problem
PublicCreateDynamicLinkBody
PublicCreateDynamicLinkBodyCampaign
PublicCreateDynamicLinkResponse
PublicDynamicLinkEvent
PublicDynamicLinkResponse
Purchase
PurchaseKitEvent
One thing the payments kit saw, with no content.
PurchaseProduct
PurchaseProductGooglePlay
Purchases
PurchasesCredits
freeRefillsAt: the 1st of next month (UTC), when the free credits start again; null when there are none.
PurchasesUpgrade
QueryPage
RealtimeClientFrame
RealtimeConfigVersion
RealtimeConfigVersionInteger
RealtimeConfigVersionString
RealtimeError
RealtimeEvent
RealtimeEventSubscription
RealtimeHeartbeat
RealtimeHeartbeatChannels
RealtimeHello
RealtimeHelloAck
RealtimeHelloAckLimits
RealtimeHelloAckResume
RealtimeInvalidation
RealtimeInvalidationSubscriptions
RealtimePoke
RealtimePong
RealtimeRefreshAccessToken
RealtimeRefreshAccessTokenAck
RealtimeResume
RealtimeResumeAck
RealtimeResumeCursor
RealtimeServerFrame
RealtimeSubscribe
RealtimeSubscribeRecord
RealtimeSubscriptionAck
RealtimeUnsubscribe
RealtimeUnsubscribeAck
RecordDeleteResult
RecordDocument
System fields plus the model’s declared fields as raw wire JSON.
RecordDynamicLinkEventsBody
RecordDynamicLinkEventsResponse
RecordedPurchaseEvents
RecordPurchaseEventsBody
RefreshTokenBody
SendPasswordResetBody
SetAppClaimBody
SignInWithEmailBody
SignOutBody
SignOutResult
SignUpWithEmailBody
StartGoogleSignInBody
UploadGrant
UploadInstructions
WireValue<T>
A present optional wire member, including an explicit null value. Leave the containing field null to omit it; use WireValue(null) to clear it.

Enums

AccountType
guest accounts come from signInAsGuest and may be linked to full accounts later.
EmailVerificationState
Whether the account’s email address has been verified.
FileStatus
uploading until finalize verifies size/type; deleted is the logical tombstone (bytes purged async).
PublicDynamicLinkEventType
PublicDynamicLinkPlatform
PurchaseKind
What was bought: the upgrade, an unlock, or a pack of credits.
PurchaseKitEventKind
paywallShown and shopShown: opened, from source. planPicked and packPicked: a plan or pack chosen. purchaseStarted: the store’s sheet opened. purchaseCancelled: closed in the store’s sheet.
PurchasePlan
PurchaseRecordStore
Where the purchase was made: the App Store, Google Play, or drip’s pretend store in the preview (a test purchase; nothing was charged).
PurchaseState
active: grants what was bought. pending: awaiting payment. ended: ran out or was cancelled. refunded: paid back.
PurchaseStoreName
The store the purchase was made in.
RealtimeErrorSeverity
RealtimeEventChangeType
RealtimeEventSubscriptionQueryScope
RealtimeHelloAckResumeStatus
RealtimePokeReason
RealtimeResumeAckStatus
RetryClass
Whether and how the failed request may be retried.
SignOutScope
currentSession revokes the bearer’s session; allSessions revokes every session of the end user.

Typedefs

AggregateRow = Map<String, double?>
Aggregation alias → value. count/sum are 0 over an empty set; avg is null over an empty set.
ConnectorCallResult = Map<String, Object?>
The operation’s result, in the shape of its result schema; the provider’s raw response never passes through.
CustomClaims = Map<String, CustomClaimValue>
Complete replacement map of declared scalar claims; at most 1,000 compact UTF-8 JSON bytes. Omit a key to revoke it.
RecordCreateBody = Map<String, Object?>
The model’s client-writable declared fields; server-only/read-only fields and the owner field are rejected.
RecordPatchBody = Map<String, Object?>
Fields to change: {"field": value} sets, {"field": null} clears an optional field; absent fields are unchanged. On a top-level integer or double field, {"$increment": delta} atomically adds a finite delta to the stored value (missing/null starts at zero); integer deltas and results must be safe integers, and field bounds apply to the result.
UpdateProfileBody = Map<String, Object?>
Profile patch: absent fields are unchanged; null clears an optional owner-writable field.