toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final indexName = this.indexName;
  final provisionedReadCapacityAutoScalingUpdate =
      this.provisionedReadCapacityAutoScalingUpdate;
  return {
    if (indexName != null) 'IndexName': indexName,
    if (provisionedReadCapacityAutoScalingUpdate != null)
      'ProvisionedReadCapacityAutoScalingUpdate':
          provisionedReadCapacityAutoScalingUpdate,
  };
}