toJson method
Implementation
Map<String, dynamic> toJson() {
final arch = this.arch;
final os = this.os;
final accelerator = this.accelerator;
return {
'Arch': arch.toValue(),
'Os': os.toValue(),
if (accelerator != null) 'Accelerator': accelerator.toValue(),
};
}