canInclude property

List<String> canInclude

possible includes with parameter ?include=a,b

  • category: include associated category
  • created_by: include associated created_by
  • person: include associated person

Implementation

static List<String> get canInclude => ['category', 'created_by', 'person'];