toJsonString method

String toJsonString()

Implementation

String toJsonString() {
  switch (this) {
    case QuickbooksProductType.inventory:
      return 'Inventory';
    case QuickbooksProductType.nonInventory:
      return 'NonInventory';
    case QuickbooksProductType.service:
      return 'Service';
  }
}