DV class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Properties
Accessibility
→ DVAccessibility
no setter
AI
→ DVAI
no setter
Analytics
→ DVAnalyticsRuntime
DV.Analytics: typed events checked against consent before they leave
the device. Started by the generated runtime from dartvel.analytics,
and throws in an application that declares none.
no setter
apiBasePath
→ String
The API base path segment (e.g. /api).
no setter
Auth
→ DVAuth
no setter
baseUrl
→ String
The resolved backend base URL for the current build/target.
no setter
Billing
→ DVBilling
no setter
Biometrics
→ DVBiometrics
no setter
BlobStorage
→ DVStorage
no setter
Bluetooth
→ DVBluetooth
no setter
Cache
→ DVCache
no setter
Clipboard
→ DVClipboard
no setter
Contacts
→ DVContacts
no setter
container
↔ ProviderContainer?
getter/setter pair
Crashes
→ DVCrashes
The crash reporter: installed by the generated runtime, and where an
application records a caught error with DV.Crashes.record.
no setter
CSRF
→ DVCSRF
no setter
Csrf
→ DVCSRF
no setter
currentTenant
↔ String
Alias for DV.Tenants.currentTenant, as the spec defines it. Both read
and write the same state, so setting one is visible through the other.
getter/setter pair
Database
→ DVDatabase
no setter
DB
→ DVDatabase
no setter
DeepLinking
→ DVDeepLinks
no setter
FileStorage
→ DVStorage
no setter
Haptics
→ DVHaptics
no setter
Http
→ DVHttp
no setter
I18n
→ DVI18n
no setter
Jobs
→ DVQueues
no setter
lifecycle
→ DVLifecycleRegistry
Read-only lifecycle signals: DV.lifecycle.app, DV.lifecycle.build.
no setter
Location
→ DVLocation
no setter
Memory
→ DVMemory
The Platform Memory factory: every DV.Memory.allocate(...) is an
independent arena with its own budget, segments and lifecycle.
no setter
Modules
→ DVModuleRegistry
Mounted Dartvel modules. The generator emits typed DV.Modules.<id>
accessors on top of this registry, and <id>Routes for its pages.
final
Navigation
→ DVNavigation
no setter
NFC
→ DVNfc
no setter
Notifications
→ DVNotificationsService
no setter
ObservabilityAndLogging
→ DVObservabilityAndLogging
no setter
Platform
→ DVPlatform
no setter
Privacy
→ DVPrivacy
DV.Privacy: erasure, export and retention over the declared models,
with the framework's own adapters installed. Throws until configured,
which the generated server does from DARTVEL_PRIVACY_KEY.
no setter
progress
→ DVTopProgress
The loads the bar across the top of the page shows: track(future),
or start() and the callback it returns.
final
Purchases
→ DVPurchases
DV.Purchases: store purchases, verified on the server. Throws until
DVPurchases.configure(...) has run, rather than inventing a store that
believes whatever it is told.
no setter
Queues
→ DVQueues
no setter
Secrets
→ DVSecrets
no setter
Sensors
→ DVSensors
no setter
Session
→ DVSessionSignal
DV.Session: this device's session as a read-only signal --
DV.Session.current, .id and .claims -- changed only by what the
server answers.
no setter
Share
→ DVShare
no setter
Storage
→ DVStorage
no setter
Tenants
→ DVTenants
no setter
Test
→ DVTestHarness
no setter
Theme
→ DVTheme
no setter
Updates
→ DVUpdates
no setter
Webhooks
→ DVWebhooks
DV.Webhooks: the events this application sends to its customers'
servers — declared, signed, delivered per endpoint and recorded.
no setter
Workers
→ DVWorkers
DV.Workers: declared offloadable work off the UI isolate, on a pool
sized from the device rather than by the application. In-process and
gone with the process -- work that must outlive it is a job.
no setter
Static Methods
$ (String command , {Map <String , String > environment = const <String, String>{} , String ? workingDirectory })
→ Future <DVShellResult >
api (String path )
→ Uri
Builds a full backend API Uri for path.
global <T > ([T? instance , String namespace = '' ])
→ T
log (String message , {String level = 'info' , Map <String , Object > ? context , Object ? error , StackTrace ? stackTrace })
→ Future <void >
registerRuntime ({required String baseUrl (), required String apiBasePath (), required Uri api (String path ) })
→ void
Wires the generated runtime into DV. Called automatically by the
generated router/app bootstrap; application code does not call this.
transaction <T > (FutureOr <T > body (DVContext context ), {bool isolated = false })
→ Future <T >
Runs body as a reversible unit of work.
withTenant <R > (String tenant , R callback () )
→ R
Runs callback within the dynamic multi-tenant context of tenant.