ResponseData<T> class

Constructors

ResponseData({T? data, Exception? error, Exception? exception, Failure? failure, String? message, int? statusCode})
ResponseData.fromJson(Map<String, dynamic> json, T fromJsonT(Map<String, dynamic>))
factory

Properties

data ↔ T?
getter/setter pair
error ↔ Exception?
getter/setter pair
exception ↔ Exception?
getter/setter pair
failure ↔ Failure?
getter/setter pair
getError → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
isSuccess → bool
no setter
message ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode ↔ int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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