CampaignUpdateSummary.fromJson constructor

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

Implementation

factory CampaignUpdateSummary.fromJson(Map<String, dynamic> json) {
  return CampaignUpdateSummary(
    campaignConfig: json['campaignConfig'] != null
        ? CampaignConfig.fromJson(
            json['campaignConfig'] as Map<String, dynamic>)
        : null,
    creationDateTime: timeStampFromJson(json['creationDateTime']),
    failureReason: json['failureReason'] as String?,
    lastUpdatedDateTime: timeStampFromJson(json['lastUpdatedDateTime']),
    minProvisionedTPS: json['minProvisionedTPS'] as int?,
    solutionVersionArn: json['solutionVersionArn'] as String?,
    status: json['status'] as String?,
  );
}