toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alcoholContent != null) 'alcoholContent': alcoholContent!,
      if (restricted != null) 'restricted': restricted!,
      if (videoGameRating != null) 'videoGameRating': videoGameRating!,
    };