ListConfigurationHistoryResponse.fromJson constructor

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

Implementation

factory ListConfigurationHistoryResponse.fromJson(Map<String, dynamic> json) {
  return ListConfigurationHistoryResponse(
    eventList: (json['EventList'] as List?)
        ?.whereNotNull()
        .map((e) => ConfigurationEvent.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}