ListQueuesResponse.fromJson constructor

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

Implementation

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