canQuery property

List<String> canQuery

possible queries using parameters like ?wherekey=value or ?wheregt|lt=value

  • completed_at: (URLParameter), query on a specific completed_at, example: ?wherecompleted_at=2000-01-01T12:00:00Z
  • created_at: (URLParameter), query on a specific created_at, example: ?wherecreated_at=2000-01-01T12:00:00Z
  • payment_method: (URLParameter), query on a specific payment_method, example: ?wherepayment_method=value
  • received_at: (URLParameter), query on a specific received_at, example: ?wherereceived_at=2000-01-01T12:00:00Z
  • updated_at: (URLParameter), query on a specific updated_at, example: ?whereupdated_at=2000-01-01T12:00:00Z

Implementation

static List<String> get canQuery => [
      'completed_at',
      'created_at',
      'payment_method',
      'received_at',
      'updated_at'
    ];