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?,
    queues: (json['queues'] as List?)
        ?.whereNotNull()
        .map((e) => Queue.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}