toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'path': path,
  'kind': kind.wireValue,
  'action': action.wireValue,
  'sha256': sha256,
  'bytes': size,
  'content': ?content,
};