toJson method
Implementation
@override
Map<String, dynamic> toJson() {
var json = super.toJson();
if (image != null) {
json['image'] = image;
}
if (description != null) {
json['description'] = description;
}
if (externalId != null) {
json['externalId'] = externalId;
}
return json;
}