OpenApiV31Responses class final

Responses indexed by status code or default.

Constructors

OpenApiV31Responses({required Map<String, OpenApiV31RefOr<OpenApiV31Response>> entries, Map<String, JsonValue> extensions = const {}})
Indexes responses by status code, range where supported, or default.

Properties

entries → Map<String, OpenApiV31RefOr<OpenApiV31Response>>
Values indexed by their source keys.
finalinherited
extensions → Map<String, JsonValue>
Specification extensions keyed by their x- names. Defaults to empty.
finalinherited
extraFields → Map<String, JsonValue>
Unrecognized fields retained for JSON export. Defaults to empty.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
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.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → OpenApiV31RefOr<OpenApiV31Response>?
Returns the value at key, or null if the key is absent.
inherited