ListConfigurationsResponse.fromJson constructor

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

Implementation

factory ListConfigurationsResponse.fromJson(Map<String, dynamic> json) {
  return ListConfigurationsResponse(
    configurations: (json['configurations'] as List?)
        ?.whereNotNull()
        .map((e) => (e as Map<String, dynamic>)
            .map((k, e) => MapEntry(k, e as String)))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}