KeySchemaElement.fromJson constructor

KeySchemaElement.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory KeySchemaElement.fromJson(Map<String, dynamic> json) {
  return KeySchemaElement(
    attributeName: json['AttributeName'] as String,
    attributeType: (json['AttributeType'] as String).toScalarAttributeType(),
  );
}