GitStatusEntry.fromJson constructor

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

Implementation

factory GitStatusEntry.fromJson(Map<String, Object?> json) => GitStatusEntry(
  path: json['path'] as String,
  status: json['status'] as String,
  staged: json['staged'] == true,
);