SwaggerV2Reference<T extends SwaggerV2JsonSerializable> class final

A reference to a local or external definition.

Inheritance
Mixed-in types

Constructors

SwaggerV2Reference(String ref, {Map<String, JsonValue> extensions = const {}, Map<String, JsonValue> extraFields = const {}})
Keeps the reference URI as written in the document.

Properties

extensions → Map<String, JsonValue>
Specification extensions keyed by their x- names.
final
extraFields → Map<String, JsonValue>
Unrecognized fields retained for JSON export.
final
hashCode → int
The hash code for this object.
no setterinherited
ref → String
The URI reference from $ref.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

extraToJson() → Map<String, Object?>
Exports extensions and unrecognized fields as JSON.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Returns a detached JSON representation.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited