requiredKeys constant

Set<String> const requiredKeys

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

Implementation

static const requiredKeys = <String>{
  '_id',
  'userId',
  'badgeId',
  'fromTenantId',
  'createdAt',
  'type',
  'threshold',
  'description',
  'displayLabel',
  'veteranUserThresholdMillis',
  'displayedOnComments',
  'receivedAt',
};