toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DynamoKeyType.string:
      return 'STRING';
    case DynamoKeyType.number:
      return 'NUMBER';
  }
}