VideoRating.fromJson constructor

VideoRating.fromJson(
  1. Map json_
)

Implementation

VideoRating.fromJson(core.Map json_)
    : this(
        rating: json_.containsKey('rating')
            ? json_['rating'] as core.String
            : null,
        videoId: json_.containsKey('videoId')
            ? json_['videoId'] as core.String
            : null,
      );