PostCommentForComparedCommitOutput.fromJson constructor
PostCommentForComparedCommitOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PostCommentForComparedCommitOutput.fromJson(
Map<String, dynamic> json) {
return PostCommentForComparedCommitOutput(
afterBlobId: json['afterBlobId'] as String?,
afterCommitId: json['afterCommitId'] as String?,
beforeBlobId: json['beforeBlobId'] as String?,
beforeCommitId: json['beforeCommitId'] as String?,
comment: json['comment'] != null
? Comment.fromJson(json['comment'] as Map<String, dynamic>)
: null,
location: json['location'] != null
? Location.fromJson(json['location'] as Map<String, dynamic>)
: null,
repositoryName: json['repositoryName'] as String?,
);
}