ApplicationSettingsResource.fromJson constructor

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

Implementation

factory ApplicationSettingsResource.fromJson(Map<String, dynamic> json) {
  return ApplicationSettingsResource(
    applicationId: json['ApplicationId'] as String,
    campaignHook: json['CampaignHook'] != null
        ? CampaignHook.fromJson(json['CampaignHook'] as Map<String, dynamic>)
        : null,
    lastModifiedDate: json['LastModifiedDate'] as String?,
    limits: json['Limits'] != null
        ? CampaignLimits.fromJson(json['Limits'] as Map<String, dynamic>)
        : null,
    quietTime: json['QuietTime'] != null
        ? QuietTime.fromJson(json['QuietTime'] as Map<String, dynamic>)
        : null,
  );
}