Result class
A Result.
- Available extensions
Constructors
Properties
- body → Map
-
final
- code → String
-
final
- count → int
-
Available on Result, provided by the CountResult extension
分页总页数no setter - data → Map
-
final
- error → DioException?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- list → List
-
final
- message → String
-
final
- model → dynamic
-
no setter
- models → List
-
no setter
- requestContentLength → int?
-
Available on Result, provided by the RequestContentLength extension
no setter - requestOptions → RequestOptions?
-
final
- response → Response?
-
final
- responseContentLength → int?
-
Available on Result, provided by the ResponseContentLength extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valid → bool
-
final
Methods
-
fill(
dynamic model) → dynamic -
fillList(
dynamic models) → dynamic -
fillMap<
T> (T onMap(Map json), {dynamic map}) → dynamic -
fillModel<
T> (T onModel(Map json)) → dynamic -
fillModels<
T> (T onModels(Map json)) → dynamic -
merge(
Result other) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validWith(
String code) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited