Contributor.fromJson constructor
Creates a Contributor from a JSON map from the GitHub API.
Implementation
factory Contributor.fromJson(Map<String, dynamic> json) {
return Contributor(
login: json['login'] as String,
avatarUrl: json['avatar_url'] as String,
htmlUrl: json['html_url'] as String,
type: json['type'] as String,
);
}