toJson method
Implementation
Map<String, dynamic> toJson() {
final includeControlDetails = this.includeControlDetails;
final includeNullAndEmpty = this.includeNullAndEmpty;
final includePartitionValue = this.includePartitionValue;
final includeTableAlterOperations = this.includeTableAlterOperations;
final includeTransactionDetails = this.includeTransactionDetails;
final messageFormat = this.messageFormat;
final partitionIncludeSchemaTable = this.partitionIncludeSchemaTable;
final serviceAccessRoleArn = this.serviceAccessRoleArn;
final streamArn = this.streamArn;
return {
if (includeControlDetails != null)
'IncludeControlDetails': includeControlDetails,
if (includeNullAndEmpty != null)
'IncludeNullAndEmpty': includeNullAndEmpty,
if (includePartitionValue != null)
'IncludePartitionValue': includePartitionValue,
if (includeTableAlterOperations != null)
'IncludeTableAlterOperations': includeTableAlterOperations,
if (includeTransactionDetails != null)
'IncludeTransactionDetails': includeTransactionDetails,
if (messageFormat != null) 'MessageFormat': messageFormat.toValue(),
if (partitionIncludeSchemaTable != null)
'PartitionIncludeSchemaTable': partitionIncludeSchemaTable,
if (serviceAccessRoleArn != null)
'ServiceAccessRoleArn': serviceAccessRoleArn,
if (streamArn != null) 'StreamArn': streamArn,
};
}