VideoAgeGating.fromJson constructor

VideoAgeGating.fromJson(
  1. Map json_
)

Implementation

VideoAgeGating.fromJson(core.Map json_)
    : this(
        alcoholContent: json_.containsKey('alcoholContent')
            ? json_['alcoholContent'] as core.bool
            : null,
        restricted: json_.containsKey('restricted')
            ? json_['restricted'] as core.bool
            : null,
        videoGameRating: json_.containsKey('videoGameRating')
            ? json_['videoGameRating'] as core.String
            : null,
      );