Info class abstract

Text

Annotations
  • @freezed

Constructors

Info({required String title, String? summary, String? description, String? termsOfService, Contact? contact, License? license, required String version})
const
factory
Info.fromJson(Map<String, dynamic> json)
factory

Properties

contact → Contact?
The contact information for the exposed API.
no setterinherited
copyWith → $InfoCopyWith<Info>
Create a copy of Info with the given fields replaced by the non-null parameter values.
no setterinherited
description → String?
A description of the API.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
license → License?
The license information for the exposed API.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → String?
A short summary of the API.
no setterinherited
termsOfService → String?
A URL to the Terms of Service for the API. This must be in the form of a URL.
no setterinherited
title → String
The title of the API.
no setterinherited
version → String
The version of the OpenAPI document. Distinct from OpenApi.openapi.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this Info to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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