ResponseStatus class

A class representing the status of a response.

Constructors

ResponseStatus(String status, String message, String? data)
Constructs a ResponseStatus with the provided status, message, and data.
ResponseStatus.fromJson(dynamic json)
Factory method to create a ResponseStatus from a JSON json object.
factory

Properties

data String?
Additional data associated with the response (optional).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
A message providing additional information about the response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
The status string indicating the response status.
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