toValue method

String toValue()

Implementation

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