CampaignSummary class
- Annotations
-
- @freezed
Constructors
- CampaignSummary.new({@JsonKey(name: 'campaign_id') required String campaignId, @JsonKey(name: 'campaign_name') required String campaignName, @JsonKey(name: 'total_leads') required int totalLeads, required int contacted, @JsonKey(name: 'leads_who_read') required int leadsWhoRead, @JsonKey(name: 'leads_who_replied') required int leadsWhoReplied, required int bounced, required int unsubscribed, required int completed})
-
constfactory
-
CampaignSummary.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bounced → int
-
no setterinherited
- campaignId → String
-
no setterinherited
- campaignName → String
-
no setterinherited
- completed → int
-
no setterinherited
- contacted → int
-
no setterinherited
-
copyWith
→ $CampaignSummaryCopyWith<
CampaignSummary> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- leadsWhoRead → int
-
no setterinherited
- leadsWhoReplied → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalLeads → int
-
no setterinherited
- unsubscribed → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited