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