ProjectEndpoint class final
A declared endpoint a serve operation exposes.
Constructors
- ProjectEndpoint({required String host, required int port, String path = '/'})
-
Declares an endpoint.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The host the endpoint is bound to.
final
- path → String
-
The path a browser window navigates to.
final
- port → int
-
The port the endpoint is bound to.
final
- 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
-
toJson(
) → Map< String, Object?> - The evidence projection of this endpoint.
-
toString(
) → String -
A string representation of this object.
inherited
-
toUri(
) → Uri - The URL a browser window navigates to.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited