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,
  };
}