Link constructor

const Link({
  1. @JsonKey(name: '\$ref') @_LinkRefConverter() String? ref,
  2. String? operationId,
  3. Map<String, String>? parameters,
})

Implementation

const factory Link({
  /// A relative or absolute URI reference to an OAS operation.
  @JsonKey(name: '\$ref') @_LinkRefConverter() String? ref,

  /// The name of an existing, resolvable OAS operation,
  /// as defined with a unique operationId.
  String? operationId,

  /// A map representing parameters to pass to an operation
  /// as specified with operationId or identified via [ref].
  Map<String, String>? parameters,
}) = _Link;