toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => {
      'basic_information': basicInformation.toJson(),
      'game_header_texts': gameHeaderTexts.toJson(),
      'images_between_differences': imagesBetweenDifferences.toJson(),
      if (gameProperties != null) 'game_properties': gameProperties?.toJson(),
    };