CreateGameSessionOutput.fromJson constructor

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

Implementation

factory CreateGameSessionOutput.fromJson(Map<String, dynamic> json) {
  return CreateGameSessionOutput(
    gameSession: json['GameSession'] != null
        ? GameSession.fromJson(json['GameSession'] as Map<String, dynamic>)
        : null,
  );
}