toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final name = this.name;
final parts = this.parts;
final timesAddedCount = this.timesAddedCount;
final type = this.type;
return {
'name': ?name,
'parts': ?parts,
'timesAddedCount': ?timesAddedCount,
'type': ?type,
};
}