ApiResponse<T extends Ret> class
ApiResponse
Constructors
- ApiResponse({String? statusCode, Msg? msg, T? ret})
- Constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- msg → Msg?
-
Api msg
final
- ret → T?
-
ret Data Type
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → String?
-
Api Status code ok mean success ng mean not good
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - to json map
-
toRawJson(
) → String - to json String
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited