Info class

Represents the metadata information of an API.

Constructors

Info({required String title, required String description, required String version, required Contact? contact})
Constructs an Info object with required fields and optional contact.
Info.fromJson(Map<String, dynamic> json)
Creates an Info instance from a JSON map.
factory

Properties

contact Contact?
Optional contact information for the API.
final
description String
A brief description of the API.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title of the API.
final
version String
The version of the API.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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