ExportDescription.fromJson constructor

ExportDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExportDescription.fromJson(Map<String, dynamic> json) {
  return ExportDescription(
    billedSizeBytes: json['BilledSizeBytes'] as int?,
    clientToken: json['ClientToken'] as String?,
    endTime: timeStampFromJson(json['EndTime']),
    exportArn: json['ExportArn'] as String?,
    exportFormat: (json['ExportFormat'] as String?)?.toExportFormat(),
    exportManifest: json['ExportManifest'] as String?,
    exportStatus: (json['ExportStatus'] as String?)?.toExportStatus(),
    exportTime: timeStampFromJson(json['ExportTime']),
    failureCode: json['FailureCode'] as String?,
    failureMessage: json['FailureMessage'] as String?,
    itemCount: json['ItemCount'] as int?,
    s3Bucket: json['S3Bucket'] as String?,
    s3BucketOwner: json['S3BucketOwner'] as String?,
    s3Prefix: json['S3Prefix'] as String?,
    s3SseAlgorithm: (json['S3SseAlgorithm'] as String?)?.toS3SseAlgorithm(),
    s3SseKmsKeyId: json['S3SseKmsKeyId'] as String?,
    startTime: timeStampFromJson(json['StartTime']),
    tableArn: json['TableArn'] as String?,
    tableId: json['TableId'] as String?,
  );
}