toJson method

Map<String, dynamic> toJson()

Implementation

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