toJson method
The entry of the version in the matrix of the nightly workflow, with
the inputs of the workflow of the jobs with Flutter, apps.yml: the
versions of Flutter and Dart, the SHA-256 of the archive for each
system, empty for macOS and Windows unless the jobs there run too,
and whether they do.
Implementation
Map<String, Object> toJson() => {
'flutter': '${release.version}',
'dart': '${release.dart}',
'linux_sha256': release.sha256,
'macos_sha256': macos?.sha256 ?? '',
'windows_sha256': windows?.sha256 ?? '',
'macos_and_windows': macos != null,
};