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