DriftDebugServer mixin
Debug-only HTTP server (stub when dart:io unavailable).
All methods throw or return placeholder values. Use the VM build (drift_debug_server_io.dart) for real functionality.
On web, do not pass sensitive data (e.g. auth tokens) to start—parameters are ignored and start only throws; no server is started.
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 Methods
-
start(
{required DriftDebugQuery query, bool enabled = true, int port = 8642, bool loopbackOnly = false, String? corsOrigin = '*', String? authToken, String? basicAuthUser, String? basicAuthPassword, DriftDebugGetDatabaseBytes? getDatabaseBytes, DriftDebugQuery? queryCompare, DriftDebugOnLog? onLog, DriftDebugOnError? onError}) → Future< void> - Stub: always throws UnsupportedError.
-
stop(
) → Future< void> - Stub: no-op.