ListConfigsResponse.fromJson constructor

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

Implementation

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