GitHubLocation.fromJson constructor

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

Implementation

factory GitHubLocation.fromJson(Map<String, dynamic> json) {
  return GitHubLocation(
    commitId: json['commitId'] as String?,
    repository: json['repository'] as String?,
  );
}