toJson method

Map<String, dynamic> toJson()

Implementation

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