GitResult.fromJson constructor

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

Implementation

factory GitResult.fromJson(Map<String, Object?> json) => GitResult(
  ok: json['ok'] == true,
  output: (json['output'] as String?) ?? '',
);