RepoEdit.fromJson constructor

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

Implementation

factory RepoEdit.fromJson(Map<String, Object?> json) => RepoEdit(
  path: json['path'] as String,
  replacements: (json['replacements'] as num).toInt(),
  appliedAtLine: (json['appliedAtLine'] as num?)?.toInt(),
);