toJson method
Implementation
Map<String, dynamic> toJson() {
final createdAt = this.createdAt;
final ownerId = this.ownerId;
final ownerName = this.ownerName;
final serverSideEncryptionConfiguration =
this.serverSideEncryptionConfiguration;
return {
if (createdAt != null) 'CreatedAt': createdAt,
if (ownerId != null) 'OwnerId': ownerId,
if (ownerName != null) 'OwnerName': ownerName,
if (serverSideEncryptionConfiguration != null)
'ServerSideEncryptionConfiguration': serverSideEncryptionConfiguration,
};
}