RecentCaseCommunications.fromJson constructor
Implementation
factory RecentCaseCommunications.fromJson(Map<String, dynamic> json) {
return RecentCaseCommunications(
communications: (json['communications'] as List?)
?.whereNotNull()
.map((e) => Communication.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}