toJson method
Implementation
Map<String, dynamic> toJson() {
final backfilling = this.backfilling;
final indexArn = this.indexArn;
final indexName = this.indexName;
final indexSizeBytes = this.indexSizeBytes;
final indexStatus = this.indexStatus;
final itemCount = this.itemCount;
final keySchema = this.keySchema;
final projection = this.projection;
final provisionedThroughput = this.provisionedThroughput;
return {
if (backfilling != null) 'Backfilling': backfilling,
if (indexArn != null) 'IndexArn': indexArn,
if (indexName != null) 'IndexName': indexName,
if (indexSizeBytes != null) 'IndexSizeBytes': indexSizeBytes,
if (indexStatus != null) 'IndexStatus': indexStatus,
if (itemCount != null) 'ItemCount': itemCount,
if (keySchema != null) 'KeySchema': keySchema,
if (projection != null) 'Projection': projection,
if (provisionedThroughput != null)
'ProvisionedThroughput': provisionedThroughput,
};
}