NetworkRespModel class
- Available extensions
Constructors
-
NetworkRespModel({num? code, String? msg, NetworkRespDataConvertable? data, List<
NetworkRespDataConvertable> ? dataList}) - NetworkRespModel.fromJson(dynamic json)
Properties
- code → num?
-
no setter
- data → NetworkRespDataConvertable?
-
no setter
-
dataList
→ List<
NetworkRespDataConvertable> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Available on NetworkRespModel, provided by the NetworkRespModelUtilsEx extension
no setter - msg → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{num? code, String? msg, NetworkRespDataConvertable? data, List< NetworkRespDataConvertable> ? dataList}) → NetworkRespModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBase(
Map< String, dynamic> json) → dynamic -
Available on NetworkRespModel, provided by the NetworkRespModelUtilsEx extension
-
setBaseInfo(
num? code, String? msg) → dynamic -
Available on NetworkRespModel, provided by the NetworkRespModelUtilsEx extension
-
setCode(
num? code) → dynamic -
Available on NetworkRespModel, provided by the NetworkRespModelUtilsEx extension
-
setMsg(
String? msg) → dynamic -
Available on NetworkRespModel, provided by the NetworkRespModelUtilsEx extension
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited