RepoFile.fromJson constructor
Implementation
factory RepoFile.fromJson(Map<String, Object?> json) => RepoFile(
path: json['path'] as String,
content: json['content'] as String,
totalLines: (json['totalLines'] as num).toInt(),
startLine: (json['startLine'] as num?)?.toInt(),
endLine: (json['endLine'] as num?)?.toInt(),
truncated: json['truncated'] == true,
);