Server constructor
- @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
- required String url,
- String? description,
- Map<
String, ServerVariable> ? variables,
Creates a Server object.
Implementation
@JsonSerializable(includeIfNull: false, explicitToJson: true)
const factory Server({
/// A URL to the target host.
required String url,
/// A brief description of the server.
String? description,
/// A map of server variables for URL templating.
Map<String, ServerVariable>? variables,
}) = _Server;