Link class abstract

The Link object represents a possible design-time link for a response

Annotations
  • @freezed

Constructors

Link.new({@JsonKey(name: '\$ref') @_LinkRefConverter() String? ref, String? operationId, Map<String, String>? parameters})
const
factory
Link.fromJson(Map<String, dynamic> json)
factory

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

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