toJson method

Map<String, dynamic> toJson()

Implementation

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