DescribeGameSessionsOutput.fromJson constructor
Implementation
factory DescribeGameSessionsOutput.fromJson(Map<String, dynamic> json) {
return DescribeGameSessionsOutput(
gameSessions: (json['GameSessions'] as List?)
?.whereNotNull()
.map((e) => GameSession.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}