RequestFailureData class
error mapping result
Constructors
- RequestFailureData.new({int? statusCode, String? statusMsg})
- the constructor which accepts a three params
- RequestFailureData.initial()
-
initial state
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
status code int
final
- statusMsg → String?
-
status msg String
final
Methods
-
copyWith(
{int? statusCode, String? statusMsg}) → RequestFailureData - copyWith function
-
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