toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (linuxAmd64 != null) {
    _json[r'linux-amd64'] = linuxAmd64;
  }
  if (darwinAmd64 != null) {
    _json[r'darwin-amd64'] = darwinAmd64;
  }
  if (windowsAmd64 != null) {
    _json[r'windows-amd64'] = windowsAmd64;
  }
  return _json;
}