DV class
Constructors
- DV()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- Accessibility → DVAccessibility
-
no setter
- AI → DVAI
-
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
- 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
- I18n → DVI18n
-
no setter
- Jobs → DVQueues
-
no setter
- lifecycle → DVLifecycleRegistry
-
Read-only lifecycle signals:
DV.lifecycle.app,DV.lifecycle.build.final - Location → DVLocation
-
no setter
- Modules → DVModuleRegistry
-
Mounted Dartvel modules. The generator emits typed
DV.Modules.<id>accessors on top of this registry.final -
no setter
- NFC → DVNfc
-
no setter
- Notifications → DVNotificationsService
-
no setter
- ObservabilityAndLogging → DVObservabilityAndLogging
-
no setter
- Platform → DVPlatform
-
no setter
- Queues → DVQueues
-
no setter
- Secrets → DVSecrets
-
no setter
- Sensors → DVSensors
-
no setter
-
no setter
- Storage → DVStorage
-
no setter
- Tenants → DVTenants
-
no setter
- Test → DVTestHarness
-
no setter
- Theme → DVTheme
-
no setter
- Updates → DVUpdates
-
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
bodyas a reversible unit of work. -
withTenant<
R> (String tenant, R callback()) → R -
Runs
callbackwithin the dynamic multi-tenant context oftenant.