BaseResponse class

Constructors

BaseResponse({bool success = false, String msg = '', dynamic data})

Properties

data ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
msg String
getter/setter pair
msgForgetPass String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
getter/setter pair

Methods

checkOK({bool passString = false}) bool
checkTimeout() bool
fromJson(Map<String, dynamic> json, dynamic data) BaseResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDataError({String? error}) → void
toString() String
A string representation of this object.
inherited

Operators

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