GetExclusionsPreviewResponse.fromJson constructor
GetExclusionsPreviewResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetExclusionsPreviewResponse.fromJson(Map<String, dynamic> json) {
return GetExclusionsPreviewResponse(
previewStatus: (json['previewStatus'] as String).toPreviewStatus(),
exclusionPreviews: (json['exclusionPreviews'] as List?)
?.whereNotNull()
.map((e) => ExclusionPreview.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}