ScheduledAuditMetadata.fromJson constructor

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

Implementation

factory ScheduledAuditMetadata.fromJson(Map<String, dynamic> json) {
  return ScheduledAuditMetadata(
    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?,
  );
}