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) => Configuration.fromJson(e as Map<String, dynamic>))
        .toList(),
    maxResults: json['maxResults'] as int?,
    nextToken: json['nextToken'] as String?,
  );
}