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