CampaignBody class

Inheritance

Constructors

CampaignBody({String? title, int? highlightRate, String? slug, String? link, String? description, String? discountStartDate, String? discountEndDate, int? limit, bool? showOnMain, String? type, String? priceType, int? productCount, int? freeProductCount, String? photoId, List<String>? products, List<String>? brands, List<String>? categories, List<String>? tags, String? storeId})

Properties

brands List<String>?
getter/setter pair
categories List<String>?
getter/setter pair
description String?
getter/setter pair
discountEndDate String?
getter/setter pair
discountStartDate String?
getter/setter pair
freeProductCount int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highlightRate int?
getter/setter pair
limit int?
getter/setter pair
getter/setter pair
photoId String?
getter/setter pair
priceType String?
getter/setter pair
productCount int?
getter/setter pair
products List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showOnMain bool?
getter/setter pair
slug String?
getter/setter pair
storeId String?
getter/setter pair
tags List<String>?
getter/setter pair
title String?
getter/setter pair
type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormData() Future<FormData?>?
Converts the body data model to a FormData object.
override
toPostJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a POST request.
override
toPutJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a PUT request.
override
toString() String
A string representation of this object.
inherited

Operators

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