GitCommit.fromJson constructor

GitCommit.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory GitCommit.fromJson(Map<String, Object?> json) => GitCommit(
  hash: json['hash'] as String,
  author: json['author'] as String,
  date: json['date'] as String,
  subject: json['subject'] as String,
);