toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final key = this.key;
  final tableName = this.tableName;
  final expressionAttributeNames = this.expressionAttributeNames;
  final projectionExpression = this.projectionExpression;
  return {
    'Key': key,
    'TableName': tableName,
    if (expressionAttributeNames != null)
      'ExpressionAttributeNames': expressionAttributeNames,
    if (projectionExpression != null)
      'ProjectionExpression': projectionExpression,
  };
}