ReturnParams class
Return parameters from API calls
Constructors
- ReturnParams({required ReturnStatus status, dynamic msg, String? traceId, dynamic decoded})
-
const
Properties
- decoded → dynamic
-
Decoded response data
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msg → dynamic
-
Return message or data
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ReturnStatus
-
Status of the API call
final
- traceId → String?
-
Trace identifier for response tracking
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
Static Methods
-
fromJson(
Map< String, dynamic> json) → ReturnParams - Create ReturnParams from JSON data