toJson method
Implementation
Map<String, dynamic> toJson() {
final indexArn = this.indexArn;
final indexName = this.indexName;
final keySchema = this.keySchema;
final projection = this.projection;
return {
if (indexArn != null) 'IndexArn': indexArn,
if (indexName != null) 'IndexName': indexName,
if (keySchema != null) 'KeySchema': keySchema,
if (projection != null) 'Projection': projection,
};
}