toJson method

Map<String, dynamic> toJson()

Implementation

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