toJson method
Implementation
Map<String, Object?> toJson() {
var configuration = this.configuration;
var custom = this.custom;
var customId = this.customId;
var items = this.items;
var system = this.system;
var type = this.type;
final json = <String, Object?>{};
if (configuration != null) {
json[r'configuration'] = configuration;
}
if (custom != null) {
json[r'custom'] = custom;
}
if (customId != null) {
json[r'customId'] = customId;
}
if (items != null) {
json[r'items'] = items;
}
if (system != null) {
json[r'system'] = system;
}
json[r'type'] = type;
return json;
}