ListPartnerEventSourcesResponse.fromJson constructor
Implementation
factory ListPartnerEventSourcesResponse.fromJson(Map<String, dynamic> json) {
return ListPartnerEventSourcesResponse(
nextToken: json['NextToken'] as String?,
partnerEventSources: (json['PartnerEventSources'] as List?)
?.whereNotNull()
.map((e) => PartnerEventSource.fromJson(e as Map<String, dynamic>))
.toList(),
);
}