ServerRuntime class
Server runtime implementation.
Used internally - most users should use renderToHtml directly.
- Implemented types
Constructors
- ServerRuntime({String initialPath = '/'})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClient → bool
-
Whether we're running on the client.
no setteroverride
- isInteractive → bool
-
Whether this runtime supports interactive features (events, navigation).
no setteroverride
- isServer → bool
-
Whether we're running on the server.
no setteroverride
-
Navigation binding for router integration.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → StorageBinding
-
Storage binding for localStorage/sessionStorage.
no setteroverride
- type → RuntimeType
-
The type of this runtime.
no setteroverride
Methods
-
dispose(
) → void -
Dispose the runtime and clean up resources.
override
-
mount(
Component root, {String? target}) → void -
Mount the app to a target (e.g., DOM selector, widget tree).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void -
Force a re-render.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited