BaseResponseModel class

Constructors

BaseResponseModel({required dynamic result, required bool? success, required String? message})

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
message will return the success or failure message as a response.
getter/setter pair
result ↔ dynamic
result will hold the actual response received by the api call.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool?
success will be true when API gives a successful respobnse i.e. 200 status code.
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