VideoAbuseReport.fromJson constructor

VideoAbuseReport.fromJson(
  1. Map json_
)

Implementation

VideoAbuseReport.fromJson(core.Map json_)
    : this(
        comments: json_.containsKey('comments')
            ? json_['comments'] as core.String
            : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        reasonId: json_.containsKey('reasonId')
            ? json_['reasonId'] as core.String
            : null,
        secondaryReasonId: json_.containsKey('secondaryReasonId')
            ? json_['secondaryReasonId'] as core.String
            : null,
        videoId: json_.containsKey('videoId')
            ? json_['videoId'] as core.String
            : null,
      );