AnchoredReviewComment.fromJson constructor

AnchoredReviewComment.fromJson(
  1. Map json_
)

Implementation

AnchoredReviewComment.fromJson(core.Map json_)
  : this(
      bodyMarkdown: json_['bodyMarkdown'] as core.String?,
      citationReport: json_.containsKey('citationReport')
          ? CitationReport.fromJson(
              json_['citationReport'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      commentId: json_['commentId'] as core.String?,
      location: json_.containsKey('location')
          ? DocumentLocation.fromJson(
              json_['location'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      severity: json_['severity'] as core.String?,
      suggestedEdit: json_['suggestedEdit'] as core.String?,
      summary: json_['summary'] as core.String?,
    );