CampaignSummary.fromJson constructor

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

Implementation

factory CampaignSummary.fromJson(Map<String, dynamic> json) {
  return CampaignSummary(
    campaignArn: json['campaignArn'] as String?,
    creationDateTime: timeStampFromJson(json['creationDateTime']),
    failureReason: json['failureReason'] as String?,
    lastUpdatedDateTime: timeStampFromJson(json['lastUpdatedDateTime']),
    name: json['name'] as String?,
    status: json['status'] as String?,
  );
}