GameIndices.fromJson constructor

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

Implementation

GameIndices.fromJson(Map<String, dynamic> json) {
  gameIndex = json['game_index'];
  version = json['version'] != null
      ?  NamedAPIResource.fromJson(json['version'])
      : null;
}