toJson method
Implementation
Map<String, dynamic> toJson() {
final attributeDefinitions = this.attributeDefinitions;
final billingModeSummary = this.billingModeSummary;
final creationDateTime = this.creationDateTime;
final globalSecondaryIndexes = this.globalSecondaryIndexes;
final globalTableVersion = this.globalTableVersion;
final itemCount = this.itemCount;
final keySchema = this.keySchema;
final latestStreamArn = this.latestStreamArn;
final latestStreamLabel = this.latestStreamLabel;
final localSecondaryIndexes = this.localSecondaryIndexes;
final provisionedThroughput = this.provisionedThroughput;
final replicas = this.replicas;
final restoreSummary = this.restoreSummary;
final sseDescription = this.sseDescription;
final streamSpecification = this.streamSpecification;
final tableId = this.tableId;
final tableName = this.tableName;
final tableSizeBytes = this.tableSizeBytes;
final tableStatus = this.tableStatus;
return {
if (attributeDefinitions != null)
'AttributeDefinitions': attributeDefinitions,
if (billingModeSummary != null) 'BillingModeSummary': billingModeSummary,
if (creationDateTime != null) 'CreationDateTime': creationDateTime,
if (globalSecondaryIndexes != null)
'GlobalSecondaryIndexes': globalSecondaryIndexes,
if (globalTableVersion != null) 'GlobalTableVersion': globalTableVersion,
if (itemCount != null) 'ItemCount': itemCount,
if (keySchema != null) 'KeySchema': keySchema,
if (latestStreamArn != null) 'LatestStreamArn': latestStreamArn,
if (latestStreamLabel != null) 'LatestStreamLabel': latestStreamLabel,
if (localSecondaryIndexes != null)
'LocalSecondaryIndexes': localSecondaryIndexes,
if (provisionedThroughput != null)
'ProvisionedThroughput': provisionedThroughput,
if (replicas != null) 'Replicas': replicas,
if (restoreSummary != null) 'RestoreSummary': restoreSummary,
if (sseDescription != null) 'SseDescription': sseDescription,
if (streamSpecification != null)
'StreamSpecification': streamSpecification,
if (tableId != null) 'TableId': tableId,
if (tableName != null) 'TableName': tableName,
if (tableSizeBytes != null) 'TableSizeBytes': tableSizeBytes,
if (tableStatus != null) 'TableStatus': tableStatus,
};
}