GameSessionDetail.fromJson constructor

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

Implementation

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