InfoModel class

A model representing an informational message returned by the API.

This class is used to communicate details related to the API's status, typically when a user is instructed to consult other APIs for further action or clarification.

Constructors

InfoModel({required String message, required String source})
Creates a new instance of InfoModel.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
The informational message describing the result or instruction.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
The source or category from which this information originates.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Returns a string representation of the info message for logging or debugging.
override

Operators

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