PullRequestSourceReferenceUpdatedEventMetadata.fromJson constructor

PullRequestSourceReferenceUpdatedEventMetadata.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PullRequestSourceReferenceUpdatedEventMetadata.fromJson(
    Map<String, dynamic> json) {
  return PullRequestSourceReferenceUpdatedEventMetadata(
    afterCommitId: json['afterCommitId'] as String?,
    beforeCommitId: json['beforeCommitId'] as String?,
    mergeBase: json['mergeBase'] as String?,
    repositoryName: json['repositoryName'] as String?,
  );
}