WarningModel class
An object representing the structure of the warning object returned by the API endpoints.
This class contains information about a warning encountered during the operation, including the source of the warning and the warning message.
Constructors
- WarningModel.new({required String source, required String message})
-
Creates a new instance of WarningModel.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message detailing the warning.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The source of the warning, typically representing the part of the system
or process that triggered the warning.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited