toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final destinationArn = this.destinationArn;
  final format = this.format;
  return {
    if (destinationArn != null) 'DestinationArn': destinationArn,
    if (format != null) 'Format': format,
  };
}