ListConfigurationSetsResponse.fromJson constructor

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

Implementation

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