AwsS3BucketDetails.fromJson constructor

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

Implementation

factory AwsS3BucketDetails.fromJson(Map<String, dynamic> json) {
  return AwsS3BucketDetails(
    createdAt: json['CreatedAt'] as String?,
    ownerId: json['OwnerId'] as String?,
    ownerName: json['OwnerName'] as String?,
    serverSideEncryptionConfiguration:
        json['ServerSideEncryptionConfiguration'] != null
            ? AwsS3BucketServerSideEncryptionConfiguration.fromJson(
                json['ServerSideEncryptionConfiguration']
                    as Map<String, dynamic>)
            : null,
  );
}