ListScheduledAuditsResponse.fromJson constructor

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

Implementation

factory ListScheduledAuditsResponse.fromJson(Map<String, dynamic> json) {
  return ListScheduledAuditsResponse(
    nextToken: json['nextToken'] as String?,
    scheduledAudits: (json['scheduledAudits'] as List?)
        ?.whereNotNull()
        .map(
            (e) => ScheduledAuditMetadata.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}