ApiResponseModel<T> class
- Annotations
-
- @JsonSerializable.new(genericArgumentFactories: true)
Constructors
-
ApiResponseModel({bool? status, T? data, String? message, String? token, CustomerInfo? customerInfo, String? storeInfo, int? appId, int? forceVersion, List<
OfferingModel> ? offerings, List<Rule> ? rules}) -
ApiResponseModel.fromJson(Map<
String, dynamic> json, T fromJsonT(dynamic)) -
factory
Properties
- appId → int?
-
final
- customerInfo → CustomerInfo?
-
final
- data → T?
-
final
- forceVersion → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
final
-
offerings
→ List<
OfferingModel> ? -
final
-
rules
→ List<
Rule> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → bool?
-
final
- storeInfo → String?
-
final
- token → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
Object? toJsonT(T)?) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited