Endpoint class
An engine endpoint
- Annotations
-
- @freezed
Constructors
- Endpoint({required int id, required String name, required String url, @JsonKey(fromJson: endpointTypeFromJson, toJson: endpointTypeToJson) required EndpointType type, @JsonKey(fromJson: endpointStatusFromJson, toJson: endpointStatusToJson) required EndpointStatus status})
-
constfactory
-
Endpoint.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $EndpointCopyWith<
Endpoint> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Endpoint ID
no setterinherited
- name → String
-
Endpoint name
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → EndpointStatus
-
Endpoint status
no setterinherited
- type → EndpointType
-
Endpoint type
no setterinherited
- url → String
-
Endpoint Docker host URL
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited