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