MRestResponse<T> class

Inheritance

Constructors

MRestResponse()
MRestResponse.fail(DioException error, {String? invalidMessage})
MRestResponse.invalid({String? message})
MRestResponse.success(T result)
MRestResponse.unauthorized({String? message})

Properties

fail MFail?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
result ↔ T
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printFail() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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