Key.fromJson constructor
Implementation
factory Key.fromJson(Map<String, dynamic> json) {
return Key(
hashKeyElement: AttributeValue.fromJson(
json['HashKeyElement'] as Map<String, dynamic>),
rangeKeyElement: json['RangeKeyElement'] != null
? AttributeValue.fromJson(
json['RangeKeyElement'] as Map<String, dynamic>)
: null,
);
}