PutObjectResponse.fromJson constructor

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

Implementation

factory PutObjectResponse.fromJson(Map<String, dynamic> json) {
  return PutObjectResponse(
    contentSHA256: json['ContentSHA256'] as String?,
    eTag: json['ETag'] as String?,
    storageClass: (json['StorageClass'] as String?)?.toStorageClass(),
  );
}