toJson method

Map<String, dynamic> toJson()

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,
  };
}