Callback class

A map of possible out-of-band callbacks related to the parent operation.

The key in this map is a runtime expression, evaluated at runtime, that identifies a URL to use for the callback operation.

Annotations
  • @immutable

Constructors

Callback.new({required String expression, required PathItem path})
Creates a Callback object with a callback expression and its corresponding PathItem object.
const
Callback.fromJson(Map<String, dynamic> json)
Creates a Callback from a JSON object.
factory

Properties

expression String
The runtime expression that evaluates to a URL.
final
hashCode int
The hash code for this object.
no setterinherited
path PathItem
The Path object that defines the callback operation.
final
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>
Converts this Callback to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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