ResponseStatus<T1, T2> class
Constructors
- ResponseStatus(bool requestStatus, bool actionStatus, String message, {T1? code, T2? data, dynamic dataError})
-
ResponseStatus.fromJson(Map<
String, dynamic> json)
Properties
- actionStatus ↔ bool
-
getter/setter pair
- code ↔ T1?
-
getter/setter pair
- data ↔ T2?
-
getter/setter pair
- dataError ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
getter/setter pair
- requestStatus ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → bool
-
no setter
- statusAction → bool
-
no setter
- statusError → bool
-
no setter
- statusRequest → bool
-
no setter
Methods
-
copyWith<
T1, T2> ({bool? requestStatus, bool? actionStatus, String? message}) → ResponseStatus< T1, T2> -
getData(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setActionStatus(
bool actionStatus) → void -
setCode(
T1 code) → void -
setData(
T2 data) → void -
setDataError(
dynamic dataError) → void -
setMessage(
String message) → void -
setRequestStatus(
bool requestStatus) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited