requiredKeys constant

Set<String> const requiredKeys

The list of required keys that must be present in a JSON.

Implementation

static const requiredKeys = <String>{
  'Custom',
  'allow_answers',
  'allow_user_suggested_options',
  'answers_count',
  'created_at',
  'created_by_id',
  'description',
  'enforce_unique_vote',
  'id',
  'latest_answers',
  'latest_votes_by_option',
  'name',
  'options',
  'own_votes',
  'updated_at',
  'vote_count',
  'vote_counts_by_option',
};