BaseResponse class
Constructors
- BaseResponse({bool success = false, String msg = '', dynamic data})
Properties
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