toJson method
Implementation
Map<String, dynamic> toJson() {
final hashKeyElement = this.hashKeyElement;
final rangeKeyElement = this.rangeKeyElement;
return {
'HashKeyElement': hashKeyElement,
if (rangeKeyElement != null) 'RangeKeyElement': rangeKeyElement,
};
}