toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.memory != null) {
json[r'memory'] = this.memory;
} else {
json[r'memory'] = null;
}
if (this.model != null) {
json[r'model'] = this.model;
} else {
json[r'model'] = null;
}
if (this.vendor != null) {
json[r'vendor'] = this.vendor;
} else {
json[r'vendor'] = null;
}
return json;
}