toJson method

Map<String, Object?> toJson()

The report as --report writes it.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'input': input,
  'format': format,
  'outcome': outcome.name,
  'error': ?error,
  'author': ?author,
  'license': ?license,
  'copyright': ?copyright,
  'written': <String>[...written]..sort(),
  'mapped': mapped,
  'dropped': dropped,
  'warnings': warnings,
};