DescribeScheduledAuditResponse.fromJson constructor

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

Implementation

factory DescribeScheduledAuditResponse.fromJson(Map<String, dynamic> json) {
  return DescribeScheduledAuditResponse(
    dayOfMonth: json['dayOfMonth'] as String?,
    dayOfWeek: (json['dayOfWeek'] as String?)?.toDayOfWeek(),
    frequency: (json['frequency'] as String?)?.toAuditFrequency(),
    scheduledAuditArn: json['scheduledAuditArn'] as String?,
    scheduledAuditName: json['scheduledAuditName'] as String?,
    targetCheckNames: (json['targetCheckNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}