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,
    keyType: (json['KeyType'] as String).toKeyType(),
  );
}