FatooraServiceResponse class

A general-purpose response model from the Fatoora service.

This class aggregates response metadata including status, errors, warnings, and informational messages.

Constructors

FatooraServiceResponse({required ResponseStatus status, List<ErrorModel>? errors, List<InfoModel>? infos, List<WarningModel>? warnings})
Creates a new instance of FatooraServiceResponse.

Properties

errors List<ErrorModel>?
A list of errors that occurred during the operation, if any.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
infos List<InfoModel>?
Informational messages returned with the response, if any.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ResponseStatus
Indicates the result of the operation (e.g., success, failure).
getter/setter pair
warnings List<WarningModel>?
A list of warnings related to the request or operation, if any.
getter/setter pair

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