toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deliveryStreamArn = this.deliveryStreamArn;
  final iamRoleArn = this.iamRoleArn;
  return {
    if (deliveryStreamArn != null) 'DeliveryStreamArn': deliveryStreamArn,
    if (iamRoleArn != null) 'IamRoleArn': iamRoleArn,
  };
}