GitBlameLine.fromJson constructor

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

Implementation

factory GitBlameLine.fromJson(Map<String, Object?> json) => GitBlameLine(
  line: (json['line'] as num).toInt(),
  hash: json['hash'] as String,
  author: json['author'] as String,
  content: json['content'] as String,
);