Link class
The Link object represents a possible design-time link for a response
- Annotations
-
- @freezed
Constructors
Properties
-
copyWith
→ $LinkCopyWith<
Link> -
Create a copy of Link
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- operationId → String?
-
The name of an existing, resolvable OAS operation,
as defined with a unique operationId.
no setterinherited
-
parameters
→ Map<
String, String> ? -
A map representing parameters to pass to an operation
as specified with operationId or identified via
ref
.no setterinherited - ref → String?
-
A relative or absolute URI reference to an OAS operation.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_Link value)) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> (TResult? $default(_Link value)?) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> (TResult $default(_Link value)?, {required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this Link to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited