toJson method
Implementation
Map<String, dynamic> toJson() {
final deliveryStreamName = this.deliveryStreamName;
final payload = this.payload;
final separator = this.separator;
return {
'deliveryStreamName': deliveryStreamName,
if (payload != null) 'payload': payload,
if (separator != null) 'separator': separator,
};
}