CampaignLimits.fromJson constructor

CampaignLimits.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CampaignLimits.fromJson(Map<String, dynamic> json) {
  return CampaignLimits(
    daily: json['Daily'] as int?,
    maximumDuration: json['MaximumDuration'] as int?,
    messagesPerSecond: json['MessagesPerSecond'] as int?,
    total: json['Total'] as int?,
  );
}