toJson method
Implementation
Map<String, dynamic> toJson() {
final addAttributes = this.addAttributes;
final channel = this.channel;
final datastore = this.datastore;
final deviceRegistryEnrich = this.deviceRegistryEnrich;
final deviceShadowEnrich = this.deviceShadowEnrich;
final filter = this.filter;
final lambda = this.lambda;
final math = this.math;
final removeAttributes = this.removeAttributes;
final selectAttributes = this.selectAttributes;
return {
if (addAttributes != null) 'addAttributes': addAttributes,
if (channel != null) 'channel': channel,
if (datastore != null) 'datastore': datastore,
if (deviceRegistryEnrich != null)
'deviceRegistryEnrich': deviceRegistryEnrich,
if (deviceShadowEnrich != null) 'deviceShadowEnrich': deviceShadowEnrich,
if (filter != null) 'filter': filter,
if (lambda != null) 'lambda': lambda,
if (math != null) 'math': math,
if (removeAttributes != null) 'removeAttributes': removeAttributes,
if (selectAttributes != null) 'selectAttributes': selectAttributes,
};
}