AwsS3ObjectDetails.fromJson constructor

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

Implementation

factory AwsS3ObjectDetails.fromJson(Map<String, dynamic> json) {
  return AwsS3ObjectDetails(
    contentType: json['ContentType'] as String?,
    eTag: json['ETag'] as String?,
    lastModified: json['LastModified'] as String?,
    sSEKMSKeyId: json['SSEKMSKeyId'] as String?,
    serverSideEncryption: json['ServerSideEncryption'] as String?,
    versionId: json['VersionId'] as String?,
  );
}