DescribeGameSessionQueuesOutput.fromJson constructor

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

Implementation

factory DescribeGameSessionQueuesOutput.fromJson(Map<String, dynamic> json) {
  return DescribeGameSessionQueuesOutput(
    gameSessionQueues: (json['GameSessionQueues'] as List?)
        ?.whereNotNull()
        .map((e) => GameSessionQueue.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}