CreatePlayerSessionOutput.fromJson constructor

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

Implementation

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